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 115834 - AssertionError on stop in main
Summary: AssertionError on stop in main
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 13:02 UTC by Alexander Pepin
Modified: 2009-06-25 10:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2007-09-18 13:02:06 UTC
Steps to reproduce:
- create Welcome project
- open Run->New Breakpoint
- select function and tape "main" as a function name
- open breakpoints window to be sure that the breakpoint was created
- click on "Debug main project" button in the toolbar
Result: Debug session starts with exception:
java.lang.AssertionError: BpState_Unvalidated
	at org.netbeans.modules.cnd.debugger.gdb.breakpoints.BreakpointImpl.completeValidation(BreakpointImpl.java:63)
	at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.breakpointValidation(GdbDebugger.java:1352)
	at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.resultRecord(GdbDebugger.java:403)
	at org.netbeans.modules.cnd.debugger.gdb.proxy.GdbProxyEngine.processMessage(GdbProxyEngine.java:192)
	at org.netbeans.modules.cnd.debugger.gdb.proxy.GdbProxyEngine.access$000(GdbProxyEngine.java:49)
	at org.netbeans.modules.cnd.debugger.gdb.proxy.GdbProxyEngine$1.run(GdbProxyEngine.java:116)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Alexander Pepin 2007-09-18 15:03:16 UTC
The same exception occurs if user tries to set a new function breakpoint while debugging.
Comment 2 _ gordonp 2007-09-18 15:36:46 UTC
Fixed
Comment 3 Alexander Pepin 2007-09-19 12:14:47 UTC
Verified in nightly build 20070919