This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In Add Breakpoint dialog I specified my own variables in Print Text line. The variables are correctly displayed only in case the "Suspend Debugging" is set. If it is not set (means I do not want to stop at breakpoint, just dump the value of variable into Output Window) I always get that value of variable is "null". Hey Debugger Guys! I must say this is really cool feature!! If I did not discover this small bug, I would run to nbusers to tell it everybody, because it does not seems to be well known feature, does it? I think lot of us do debug programs with some System.out.println here and there. And this feature makes this debugging technique extremely comfortable - I can use it now without any change in my code, without any recompilling. And what's more, I can change my debugging messages during runtime, what saves my time!! because otherwise I have to stop program, change my System.out.println, compile it, start it, reproduce some situation. I think there are a few things which should be improved to made the working with Print Text more comfortable like: * in dialog "Add Breakpoint", the Print Text should be larger, or better multiline * in Debugger Window->Variables, right mouse click on any variable offer me "Create Fixed Watch" and there might be also something like "Create Non-Suspending Line Breakpoint with the value of this variable in Print Text" * what might be also useful is to print "variable.toString()" to the output window. This is what I often print in my System.out.println(). * to dump all class variables of given variable into Output Window * and probably much more
Target milestone -> 3.3
fixed in main trunk
Verified in Netbeans build 193.
Resolved for 3.3.x or earlier, no new info since then -> closing.