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.
[ BUILD # : BETA ] [ JDK VERSION : 1.5.0_04 ] Hi, I would like to have the feature where I can set a breakpoint on other things than just a line of code. Specifically on a variable/field which will trigger the breakpoint when the variable changes. Iwan
select the variable | Run | New Breakpoint | Breakpoint = Method, since variable has been selected in the editor all other information should be pre-filled in. Unfortunately, almost all emulators don't support this (well almost all are based on KVM) => emulator VM simply sends command unsupported back to the debugger instead of any valid information :(.
wontfix because the feature has already been implemented. It doesn't work because it is not supported by VMs.
I think the meaning of this got lost in translation. I'd like to see the right-click of the variable cause a menu option: "Set variable breakpoint..." which does the following: - Opens the New Breakpoint dialog as mentioned already. This is much more intuitive than adding a breakpoint using other methods. ALso, the condition field should be intelligent like the breakpoint -> custom... dialog. It needs the code completion.
This can be added if we'll be able to add our actions to Java nodes.
*** Issue 139364 has been marked as a duplicate of this issue. ***