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 253511 - Occasional double marked breakpoints
Summary: Occasional double marked breakpoints
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 254229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-16 09:13 UTC by Martin Entlicher
Modified: 2015-08-11 17:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-07-16 09:13:07 UTC
Sometimes it happens that the breakpoint is annotated as a double breakpoint, even though there's just one breakpoint set. Trying to unset such a breakpoint result in a single breakpoint annotation, which is not possible to remove. Clicking on it change it to a double breakpoint.

Reported by several users, though exact steps to reproduce are not known yet.
Comment 1 peppertech 2015-07-16 14:17:44 UTC
For me, this happens in a JavaScript file.
Comment 2 Jiri Kovalsky 2015-07-22 06:55:58 UTC
David Konecny's instructions how to reproduce the bug:

* create some simple HTML5 project and with some JS file and add a breakpoint to the JS file AND close the file in NetBeans editor
* Run the app and when breakpoint is hit and JS file is reopened in the NB try to click the existing breakpoint icon in the editor gutter to remove the breakpoint
Comment 3 Martin Entlicher 2015-07-22 15:07:38 UTC
Thanks to David's steps, the bug is fixed now by changeset:   290070:1dceb0388609
http://hg.netbeans.org/core-main/rev/1dceb0388609

The 8.1 beta was branched already, therefore I'm pushing the fix to the release81_beta branch as well: changeset:   300189:23aeb034e9d3
http://hg.netbeans.org/releases/rev/23aeb034e9d3
Comment 4 Quality Engineering 2015-07-29 01:28:23 UTC
Integrated into 'main-silver', will be available in build *201507290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1dceb0388609
User: mentlicher@netbeans.org
Log: #253511: Prevent from re-addition of breakpoint annotation by property change refresh.
Comment 5 Martin Entlicher 2015-08-11 17:36:57 UTC
*** Bug 254229 has been marked as a duplicate of this bug. ***