Share custom watches with the team
In my project we wrap a C++ library in Java and as the result we have many Java classes that serve as bridges to the corresponding C++ class through JNI. Unfortunately, this means that we don't get "fields" listed for these classes in the Variables tab during debug. Now, this problem can be solved by using Class-Level Watches to these classes, to evaluate the bridged getters. I'm looking however for the way to share these watches with the team, so we can define them once, instead of everybody doing it separately. What is the easiest way of achieving this? Can I for example annotate somehow methods in a class to be automatically recognized as watches? Or maybe they are saved in some file that can be easily pushed to the repo?
Thanks in advance for help.
Please sign in to leave a comment.
Hello,
Please follow/comment the feature request created for your report at YouTrack:
https://youtrack.jetbrains.com/issue/IDEA-225349
Thank you