i am having trouble collecting data.
not getting exactly what parameters should i write in case the method is overloaded.
its in .net.
any help is appreciated.
working example would be great.
Do you want to capture only parameters of a specific overloaded method or of all the methods of a class sharing the same name ?
What's your current data collector definition ? Could you please join a screenshot of the rule ?
Just to be sure to understand what you are trying to do.
++
Edouard.
So you want to retrieve the result of the method toString() of the LogOnModel instance which is passed as first parameter right ?
Did you get something as result (even unexpected value) when testing or is there no data gathered at all ?
By the way, you've specified the full classname of the second and the third parameters as System.string; as far as I remember c# classnames are case sensitive, so let's change it to System.String (I'm not sure it explains your problem but give it a try).
Also, be sure to keep the actual parameters order of the method you want to instrument.
You can also check your bytecodeTransformer logs on the java agent to make sure that the method is properlly instrumented.
Grep on classname/method, you should find something like :
Applying method interceptor data.POJOGatherer at <classname>.<method_name>
Then check if the instrumented class has been properly verified. (if not, the agent will rollback the bytecode injection)
Look for something like "<classname> has been successfully verified"
++
Edouard
yes, i want to collect the data on first parameter which is LogOnModel instance.
and nothing at all is gathered.
i will check for the case sensitivity but the order is correct.
also let i will check for log files.
i will revert you soon.
also whenever i make any changes in the data collector configuration, popup comes and says 'need to restart CLR to take effect'...how can we do that?
thank you.