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.

Bug 66316 - [50cat] Breakpoints on change of a variable/field instead of a line of code.
Summary: [50cat] Breakpoints on change of a variable/field instead of a line of code.
Status: REOPENED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker with 2 votes (vote)
Assignee: issues@debugger
URL:
Keywords:
: 139364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-08 16:07 UTC by ieising
Modified: 2008-07-09 13:01 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2005-10-08 16:07:53 UTC
[ 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
Comment 1 Martin Ryzl 2005-10-08 22:09:09 UTC
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 :(.
Comment 2 Martin Ryzl 2005-10-08 22:28:21 UTC
wontfix because the feature has already been implemented. It doesn't work
because it is not supported by VMs.
Comment 3 clever 2005-10-10 16:22:16 UTC
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.
Comment 4 Martin Entlicher 2005-12-13 15:38:14 UTC
This can be added if we'll be able to add our actions to Java nodes.
Comment 5 Martin Entlicher 2008-07-09 13:01:41 UTC
*** Issue 139364 has been marked as a duplicate of this issue. ***