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 198927 - Stack view is not updated on thread switch
Summary: Stack view is not updated on thread switch
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 18:30 UTC by tbrunhoff
Modified: 2011-07-12 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
debugger console (87.43 KB, text/plain)
2011-05-26 18:31 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2011-05-26 18:30:46 UTC
See ide version below.

If I hit a breakpoint and then try to switch to a different thread by either double click on the thread or right click and select "make current", the call stack pane is not updated.  Looking at the Debugger console, it looks as if the commands are correctly sent to the debugger but it has no effect on the ide.

I've attached a log from the debugger console. Note the commands I typed at the end were to test switching threads, which appears to work.

Product Version: NetBeans IDE Dev (Build 201105030000)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Linux version 2.6.35.12-90.fc14.x86_64 running on i386; UTF-8; en_US (nb)
Userdir: /home/toddb/.netbeans/dev
Comment 1 tbrunhoff 2011-05-26 18:31:17 UTC
Created attachment 108533 [details]
debugger console
Comment 2 Alexander Pepin 2011-06-08 14:08:00 UTC
In addition State column in Threads view always shows "<null value>" when expected is "paused" or "breakpoint" or "running" or "suspended" etc.
Comment 3 Alexander Pepin 2011-06-09 11:01:15 UTC
A new automatic test has been added to gdb test suite to catch the regression.
Comment 4 Egor Ushakov 2011-06-17 14:57:47 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/022c2163448c

1. thread states are not supported in gdb, so now we do not show this field at all (for gdb)
2. -thread-info MI command is supported in gdb 7.0 and higher, in 6.8 we use console command, so in this situation all fields are combined into one
Comment 5 Quality Engineering 2011-06-18 15:11:48 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/022c2163448c
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #198927 (Stack view is not updated on thread switch)
Comment 6 Egor Ushakov 2011-06-20 08:33:37 UTC
i18n fixed:
http://hg.netbeans.org/cnd-main/rev/d5b802f6fed4
Comment 7 Alexander Pepin 2011-06-20 16:12:39 UTC
verified in trunk build 201106200600.
Please push the fix into 7.0.1 branch.
Comment 8 Egor Ushakov 2011-06-21 08:46:07 UTC
integrated into release701:
http://hg.netbeans.org/releases/rev/6ea9f4c88786
Comment 9 Quality Engineering 2011-06-22 05:09:39 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/6ea9f4c88786
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #198927 (Stack view is not updated on thread switch)
Comment 10 Alexander Pepin 2011-07-12 13:10:50 UTC
Verified in 7.0.1 build 20110710.