I fought with the same problem in eclipse. Without finding a short and easy solution I decided to overwrite the
toString
method for all of my objects. That gaves me the possibility to get a String representation with the most important data inside the Variables tab
of the debug mode
without step into the complex tree structure. Of course that solution has a high effort but if it is done once the troubleshooting is much easier.toString
method just for debugging purposes. You can use a Detail Formatter
. Just right click on a variable and choose New Detail Formatter...
.A
Detail Formatter
is also useful for third party libraries when you can not override the toString
method
No comments:
Post a Comment