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.
1. Create Args project. Build it. Open args.c in editor 2. set toggle breakpoint at line 33(at the return statement) 3. Debug main project. Debugger stopped at line 33 4. Push "Step Over" twice => NullPointerException "Step Into" has the same effect
What platform? If its Solaris would you try the same test using gdb from the command line? There are gdb issues (on Solaris) and I'd like that ruled out before proceeding on this bug.
I have tested gdb on windows, solaris and linux, and the exception is not thrown from gdb.
java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.gdb.EditorContextBridge.annotate(EditorContextBridge.java:120) at org.netbeans.modules.cnd.debugger.gdb.CurrentThreadAnnotationListener$3.run(CurrentThreadAnnotationListener.java:230) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Fixed in beta2 build.