You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my applicaiton, the params of most method is an object , not primitive type.but now so when I want to print the params, i can only use the codes below:
@BTrace
public class AllMethods {
@OnMethod(
clazz="com.xxx.xxxController",
method="getXXX",
location=@Location(Kind.RETURN)
)
public static void m(AnyType[] args, @Return AnyType result) {
printArray(args);
printFields(result);
}
}
this can't recursive print an object!
I am curioused about this design that not provide a method to recursive println an object....which i think is so easy to implement.
The text was updated successfully, but these errors were encountered:
Yes, it is easy to implement. Just one must keep track of back-references not get caught in endless loop. It's just there hasn't been demand for this functionality yet.
Please, feel free to open a PR with the implementation. Any contributions are greatly welcomed!
In my applicaiton, the params of most method is an object , not primitive type.but now so when I want to print the params, i can only use the codes below:
this can't recursive print an object!
I am curioused about this design that not provide a method to recursive println an object....which i think is so easy to implement.
The text was updated successfully, but these errors were encountered: