AnsweredAssumed Answered

Putting method param/arg into a metric - PBD

Question asked by plinioMoreira4451798 on Jun 10, 2015
Latest reply on Jun 15, 2015 by Stefan.Thieme

I would like to show in the investigator the value of a parameter passed in a method. For example:

 

 

public void doSomething (String str, int numberInt) {

....

....

...

}

 

 

I need to show the sum of the value of the parameter numberInt as follows:

 

 

Agent -> MetricResourcce -> Method: doSomethingValue

 

 

 

I did some testing with TraceOneMethodWithParametersOfClass, but the result was not expected.

 

 

My question is similar to described the link below, but the last solution by Jack Butler did not work with Integer values.

 

https://communities.ca.com/message/111844182#111844182

Outcomes