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 212309 - Automatically remove component breakpoints when GUI snapshot is closed
Summary: Automatically remove component breakpoints when GUI snapshot is closed
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 13:02 UTC by Jiri Kovalsky
Modified: 2013-02-21 10:17 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 Jiri Kovalsky 2012-05-10 13:02:12 UTC
Product Version: NetBeans IDE Dev (Build 201205100400)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Description:
============
It makes no sense to keep component breakpoints when debugging of GUI application is finished and GUI snapshot is closed. They will never be hit again so let's delete them.

Steps to reproduce:
===================
1. Create new Anagram Game sample project.
2. Invoke "Debug > Debug Project (AnagramGame)" from main menu.
3. Invoke "Debug > Take GUI Snapshot" from main menu.
4. Right click "Guess" button in the generated snapshot and select "Toggle
Component Breakpoint" from the popup menu.
5. Invoke "Debug > Finish Debugger Session" from main menu.
6. Invoke "Window > Debugging > Breakpoints" from main menu.
7. You will see that "Component Breakpoint guessButton [JButton]" will be still there even though it's absolutely useless.
Comment 1 Jiri Kovalsky 2013-02-21 10:17:44 UTC
Any plan to fix this in NetBeans.next Martine? Thanks.