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.
041026 custom, 1.5.0. I have been trying to debug a unit test (AntGrammarTest) for a while, with only occasional success. Sometimes the process starts but doesn't seem to do anything for a while (I have a conditional breakpoint set in a place it has to encounter); sometimes setting "main" as the current thread makes it break, sometimes not. Suspend/Resume on "main" don't seem to do anything (does not give me a call stack). Sometimes I have a current line cursor, and I press F8 in the middle of a long method, on a call which should complete very quickly, but I do not get the current line back - just nothing happens, and Suspend does nothing. Not sure what is going on, but I found some exceptions in my log file.
Created attachment 18534 [details] Stack traces found in my log file
Is it reproducible? Can you attach testcase. I am not sure whats happening there from your log.
Don't think it's reproducible. However it seems that at the time I was trying to use classes for which the debugger had no configured sources (since the classes were loaded dynamically). Could be closed if you can't do anything at all with it, but ideally the NB debugger should try to annotate such problems with information about what was going on and why JDI might have failed, so it could be fixed in the future - either on the NB side or in the JDK, as appropriate. I should mention that it is very common for me to see this kind of exception in my log file whenever I try to use the JPDA debugger.
Fixed in main trunk: Checking in JPDADebuggerImpl.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.61; previous revision: 1.60 done
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.