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 213838 - Not working "Close" button when debugging session is paused & continued
Summary: Not working "Close" button when debugging session is paused & continued
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 14:27 UTC by Jiri Kovalsky
Modified: 2012-07-10 10:53 UTC (History)
1 user (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 Jiri Kovalsky 2012-06-08 14:27:38 UTC
Product Version: NetBeans IDE Dev (Build 201206070001)
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 seems like "Continue" action does something strange to debugged application, which then behaves unexpectedly. If MemoryView projects is paused and then continued the "Close" button does nothing. It remains in pressed state but application does not stop and debugging session is not finished.

Steps to reproduce:
===================
1. Open MemoryView project and invoke "Debug > Debug Project" from main menu.
2. Both "AWT-EventQueue-0" and "AWT-XAWT" threads are running.
3. When Memory View window shows up, press "Pause" button from debugging toolbar.
4. NetBeans stops all threads. Press "Continue" button from debugging toolbar.
5. Both "AWT-EventQueue-0" and "AWT-XAWT" threads are resumed so application should be running normally again.
6. Switch to Memory View window and press "Close" button. It does not work.
Comment 1 Martin Entlicher 2012-06-14 12:03:27 UTC
Reproduced. Depending on the cause and the fix complexity, we might want to backport it to 7.2.
Comment 2 Martin Entlicher 2012-06-14 13:58:42 UTC
Fixed by changeset:   224539:068ecf378abd
http://hg.netbeans.org/main/rev/068ecf378abd
Comment 3 Jiri Kovalsky 2012-06-14 16:59:58 UTC
I will verify the fix in trunk and upon successful verification let's backport it to release72 branch.
Comment 4 Quality Engineering 2012-06-16 06:05:52 UTC
Integrated into 'main-golden', will be available in build *201206160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/068ecf378abd
User: mentlicher@netbeans.org
Log: #213838: Ignore threads that match the private name pattern.
Comment 5 Jiri Kovalsky 2012-06-18 08:25:34 UTC
Product Version: NetBeans IDE Dev (Build 201206180001)
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

Verified. Please proceed with integration to release72 branch. Thanks.
Comment 6 Martin Entlicher 2012-06-18 08:46:19 UTC
Thanks for the verification, I'm making it a candidate for 7.2.
Comment 7 Martin Entlicher 2012-06-19 14:19:58 UTC
Pushed to release72:
http://hg.netbeans.org/releases/rev/55820a6f6c76
Comment 8 Quality Engineering 2012-06-20 03:29:28 UTC
Integrated into 'releases', will be available in build *201206192200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/55820a6f6c76
User: mentlicher@netbeans.org
Log: #213838: Ignore threads that match the private name pattern.
(transplanted from 068ecf378abd850cde2b26699fa101f07697b49a)
Comment 9 Jiri Kovalsky 2012-07-10 10:53:29 UTC
Product Version: NetBeans IDE 7.2 (Build 201207092359)
Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03
System: Linux version 3.0.0-12-generic running on i386; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/7.2
Cache directory: /home/cesilko/.cache/netbeans/7.2

Verified in NetBeans 7.2 FCS build.