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 206384 - No debuggee UI displayed
Summary: No debuggee UI displayed
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
: 206392 (view as bug list)
Depends on:
Reported: 2011-12-14 14:22 UTC by Jiri Kovalsky
Modified: 2012-02-27 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot of half started MemoryMonitor demo project debug session. (229.79 KB, image/png)
2011-12-14 14:22 UTC, Jiri Kovalsky
Full thread dump when MemoryMonitor debug session was only half started. (24.67 KB, application/octet-stream)
2011-12-14 14:23 UTC, Jiri Kovalsky

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-12-14 14:22:06 UTC
Created attachment 114165 [details]
Screenshot of half started MemoryMonitor demo project debug session.

Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_30; Java HotSpot(TM) Client VM 20.5-b03
System: Linux version 2.6.35-22-generic running on i386; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/7.1
Cache directory: /home/cesilko/.netbeans/7.1/var/cache

I tried to debug MemoryMonitor JDK demo project but the UI didn't show up. Tried several times to no avail. Only restart of the IDE helped to discipline debugger. I have created full thread dump, heap dump and application snapshot.

What I did:
1. I followed sanity test specification and successfully went through until test case " - Visual Debugger > Component Breakpoints".
2. I opened "demo" Java project including all dependant projects.
3. I right clicked "MemoryMonitor" project node and invoked "Debug" from its popup menu.
4. AWT and "main" threads were started but for some reason "MemoryMonitor" not.
Comment 1 Jiri Kovalsky 2011-12-14 14:23:37 UTC
Created attachment 114166 [details]
Full thread dump when MemoryMonitor debug session was only half started.
Comment 2 Martin Entlicher 2011-12-15 13:23:28 UTC
The debugger has initiated a method invocation, which does not return.
I will try to reproduce to see what is happening in the MemoryMonitor application.

How often does this happen?
Comment 3 Martin Entlicher 2011-12-15 13:33:24 UTC
*** Bug 206392 has been marked as a duplicate of this bug. ***
Comment 4 Martin Entlicher 2011-12-20 13:35:23 UTC
I've reproduced this by following steps:
1) Debug MemoryMonitor project
2) Make the GUI snapshot
3) Choose Show Listeners from the context menu on the GUI snapshot
4) Invoke "Set Logging Events..." dialog on the Events Log
5) Select MouseListener and press O.K.
6) Finish the debugger session
7) Debug MemoryMonitor project again.
8) It's stuck.

There seems to be something leaking from the previous debugger session, which causes the trouble.
Comment 5 Martin Entlicher 2012-01-03 13:52:14 UTC
Fixed by changeset:   209706:c2df0a533821
Comment 6 Jiri Kovalsky 2012-01-03 15:41:42 UTC
Let's deliver this in the first update of NetBeans 7.1.
Comment 7 Quality Engineering 2012-01-05 15:51:26 UTC
Integrated into 'main-golden'
Log: #206384 Assure that the breakpoint, added to read remote events, is removed when the debugger session ends.
Comment 8 Jiri Kovalsky 2012-01-09 14:46:56 UTC
Verified in development build #201201080601.
Comment 9 Martin Entlicher 2012-01-31 14:29:39 UTC
Fix transplanted to release71_fixes branch: changeset: 218585:9ffe9932b895

Increased specification version by changeset:   218587:50816e61e6b9
Comment 10 Jiri Kovalsky 2012-02-27 15:14:16 UTC
Verified in NetBeans 7.1.1 build #201202262200.