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 253134 - MacOSX: Variables tab generates exception (Gdb 6.3)
Summary: MacOSX: Variables tab generates exception (Gdb 6.3)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 13:50 UTC by soldatov
Modified: 2015-07-15 01:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
GDB log (22.80 KB, text/plain)
2015-06-23 13:50 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-06-23 13:50:05 UTC
Created attachment 154348 [details]
GDB log

MacOSX 10.8.2
Gdb 6.3.50-20050815 (Apple version gdb-1820)

Scenario:
- Create Welcome project
- Set line breakpoint at 41th line
- Start debugger
- Open Variables tab
==> exception

java.lang.ClassCastException: org.netbeans.modules.cnd.debugger.gdb2.mi.MITList cannot be cast to org.netbeans.modules.cnd.debugger.gdb2.mi.MIResult
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.setLocals(GdbDebuggerImpl.java:3596)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$5300(GdbDebuggerImpl.java:141)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$37.onDone(GdbDebuggerImpl.java:3640)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:194)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.dispatch(MIProxy.java:188)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$MyMIProxy.dispatch(Gdb.java:697)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.result(MIProxy.java:193)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.processLine(MIProxy.java:157)
	at org.netbeans.modules.cnd.debugger.gdb2.Tap$4.run(Tap.java:327)
Caused: java.lang.Exception: when processing line: 20^done,locals={{name="i"}},time={wallclock="0.00002",user="0.00002",system="0.00000",start="1435066666.419526",end="1435066666.419550"}

	at org.netbeans.modules.cnd.debugger.gdb2.Tap$4.run(Tap.java:329)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 henk89 2015-07-13 12:20:34 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/b33b4003dd6b
Comment 2 Quality Engineering 2015-07-15 01:20:45 UTC
Integrated into 'main-silver', will be available in build *201507150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b33b4003dd6b
User: Nikolay Koldunov <henk89@netbeans.org>
Log: Fixed #253134 - MacOSX: Variables tab generates exception (Gdb 6.3)