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 195293 - [70cat] [Java] Debugging view empty when running debugger
Summary: [70cat] [Java] Debugging view empty when running debugger
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 13:30 UTC by jmborer
Modified: 2011-02-17 10:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Bug screenshot (87.68 KB, image/png)
2011-02-15 09:12 UTC, jmborer
Details
Debugging view showing thread groups (134.08 KB, image/png)
2011-02-15 09:41 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmborer 2011-02-10 13:30:45 UTC
When I start a debugging the session and it stops at a break point, the "Debugging" viewer (in left hand side panel) is empty where it should display the callstack. It will be painted if I force a refresh of the view by either closing another tab (for example Services), or I click on one of the view settings buttons (for example the "Show less" button).

It can easily reproduced.

I use NB 7.0 beta2.
Comment 1 Martin Entlicher 2011-02-14 09:07:00 UTC
I can reproduce it only when "Show thread groups" button is on. I did not encounter any problem in the default mode.
Comment 2 Jiri Kovalsky 2011-02-14 14:39:52 UTC
I have not seen this. If the "Show thread groups" button is turned on, it still opens showing thread groups and not empty. What JDK do you use Jean-Marc?
Comment 3 jmborer 2011-02-15 09:03:17 UTC
Here is my dump:

Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102111519)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 17.0-b03
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: H:\projects\.netbeans\7.0beta2
Comment 4 Jiri Kovalsky 2011-02-15 09:05:56 UTC
Oh, it's JDK 7! Does it work correctly with JDK 6 Update 23?
Comment 5 jmborer 2011-02-15 09:10:05 UTC
Unfornately also verified with:

Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102111519)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: H:\projects\.netbeans\7.0beta2

Steps to reproduce:

- start a debugging session
- enable "Show thread groups"
- stop debugging
- start a new debugging session: the Debugging view is empty as long as you
don't force a refresh by either resizing the panel or (un)check any of the
debug view options.
Comment 6 jmborer 2011-02-15 09:12:57 UTC
Created attachment 106022 [details]
Bug screenshot

Screenshot of bug
Comment 7 Jiri Kovalsky 2011-02-15 09:41:19 UTC
Created attachment 106025 [details]
Debugging view showing thread groups

I am sorry but I cannot reproduce it either with build from February 10th or 14th. This is what is displayed on my Linux Mint 10 with JDK 6 Update 23. The window is never empty. Martine, you said you could reproduce it?
Comment 8 Martin Entlicher 2011-02-15 09:56:10 UTC
Yes, I can reproduce this on Ubuntu 10.10 very often. Not always, but in majority of attempts the Debugging window is empty.
It does not depend on JDK version, it's more likely dependent on threading. It seems that it's more probable to occur if I open Watches window and move it to the left side of the output area so that it is visible together with Variables. It looks like the more work is done when debugger is starting, the more likely Debugging window gets empty.
I hope I'll have a fix for this soon.
Comment 9 jmborer 2011-02-15 09:57:12 UTC
This is what I get on the IDE log when starting debugging:


Adding a fold that is identical with another previously added fold from the
same FoldManager is not allowed.
Existing fold: [code-block] E1 <7942,8009>, desc='{...}', hash=0xeab7ba, [7943,
8008] {7943, 8008}; FoldManager:
org.netbeans.modules.java.editor.fold.JavaElementFoldManager@13be596
     New fold: [code-block] E1 <7942,8009>, desc='{...}', hash=0x15e1c1c,
[7943, 8008] {7943, 8008}; FoldManager:
org.netbeans.modules.java.editor.fold.JavaElementFoldManager@13be596
Adding a fold that is identical with another previously added fold from the
same FoldManager is not allowed.
Existing fold: [code-block] E1 <7942,8009>, desc='{...}', hash=0xeab7ba, [7943,
8008] {7943, 8008}; FoldManager:
org.netbeans.modules.java.editor.fold.JavaElementFoldManager@13be596
     New fold: [code-block] E1 <7942,8009>, desc='{...}', hash=0x15e1c1c,
[7943, 8008] {7943, 8008}; FoldManager:
org.netbeans.modules.java.editor.fold.JavaElementFoldManager@13be596
Comment 10 Martin Entlicher 2011-02-16 15:41:07 UTC
It's hopefully fixed by changeset:   188809:75584ccc2c30
http://hg.netbeans.org/main/rev/75584ccc2c30

The warnings in the log file are from Editor (folds in the editor), not debugger.
Comment 11 Quality Engineering 2011-02-17 10:58:51 UTC
Integrated into 'main-golden', will be available in build *201102170501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/75584ccc2c30
User: mentlicher@netbeans.org
Log: #195293 Refresh all parent groups to the root node when a group is added.