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 120650 - Call Stack not Working (likely repaint problem)
Summary: Call Stack not Working (likely repaint problem)
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 16:01 UTC by cberger
Modified: 2009-07-31 16:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Empty Call Stack (116.67 KB, image/png)
2007-10-31 16:02 UTC, cberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cberger 2007-10-31 16:01:28 UTC
When hitting the first breakpoint, if the Call Stack pane was selected,
nothing appear there. (see attached image).
There is an easy workaround though, you just have to select for
example the "Local Variables" pane and then back "Call Stack" and
it work. So it's the initial repaint when hitting a breakpoint that
is not OK.
Comment 1 cberger 2007-10-31 16:02:54 UTC
Created attachment 52138 [details]
Empty Call Stack
Comment 2 cberger 2007-10-31 16:03:31 UTC
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb)
Userdir: /Users/cedric/.netbeans/6.0beta2
Comment 3 Martin Entlicher 2007-10-31 16:30:25 UTC
This really looks like a repaint problem, according to the scroll bar.
Will try to reproduce...
Comment 4 Martin Entlicher 2007-10-31 16:32:07 UTC
Can you please check whether the content is painted when you move the scroll bar?
Comment 5 cberger 2007-10-31 16:43:08 UTC
no, actually I cannot move the scrollbar.
moreover, when I click on local variables and back to call stack
the scrollbar disappear (my stack trace is short).
Comment 6 cberger 2007-10-31 16:47:34 UTC
Note that this problem really only occur on first breakpoint when starting to debug.
On all further breakpoint (or single stepping) the update is properly done immediately.
Comment 7 Martin Entlicher 2007-10-31 16:47:35 UTC
Seems to be Mac-specific. I can not reproduce this on Linux. Will try on some Mac machine later...
Comment 8 Martin Entlicher 2008-02-13 08:38:24 UTC
Maybe a repaint problem of TreeTableView? Or it can be a swing issue.
Incomplete repaints often happen to me when having IDE on other virtual screens and I guess that it's a swing bug.
Moving to openide/tree table view for evaluation...
Comment 9 swpalmer 2009-03-17 15:46:58 UTC
I'm seeing what may be the same issue with 6.5.1.

The Call Stack window is showing no threads at all .. usually when my application is running I can see all of the 
running threads and a call stack when I'm at a breakpoint.. but in 6.5.1 the view is often blank.
Comment 10 swpalmer 2009-03-17 15:47:57 UTC
Sorry that last comment applies to the Debugging View - not the call stack.  I will file a new issue.
Comment 11 Martin Entlicher 2009-07-31 16:23:32 UTC
This seems to work correctly in NB 6.7. Can you please verify there?
Debugger views were rewritten to use Outline view, therefore it likely fixed this inconsistency.