Closed kartikeytewari-ul closed 1 week ago
this
keyword) and arguments with which the method is to be invoked. Then call the mv.visitMethodInsn()
method. For static methods the stack trace was supposed to be prepared with arguments and then the call to mv.visitMethodInsn()
needed to happen. ReferralUtils#generateReferralCode
of usmd) got probed correctly. While static methods with arguments (generally lambda methods throughout the project) got injected incorrectly.This is fixed with SDK v0.6.101 video demo
Static methods will now generate candidates correctly based on counter specified. (With the exception of #83).
Closing the issue.
Describe the bug
Project: unlogged-spring-gradle-demo Class: ReferralUtils
When building the project with frequency logging build of SDK the class does not have dual methods. Instead the decompiled class only have a single probed method. This causes the methods in class to be always probed.
Reproduction steps
Expected behavior
The method should be seen only a few times based on the set counter of the process.
Additional context
This can be also verified by looking at the decompiled class.