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.
When e.g. watches are being evaluated (an invoke method) and a step is issued at the same time, it can happen that the step is performed in the stack that evaluates the expression. This cause the debugger to stop at random places (where the expression is evaluated) and the call stack looks strange.
Increasing to P3, I've heard complaints about this from debugger users, this needs to be fixed into 6.0.
The problem should be fixed now. Steps are not submitted until method invocation is finished, when the thread is to be resumed, further method invocations are canceled. /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.126; previous revision: 1.125 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDAStepImpl.java,v <-- JPDAStepImpl.java new revision: 1.15; previous revision: 1.14 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepActionProvider.java,v <-- StepActionProvider.java new revision: 1.39; previous revision: 1.38 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/AbstractObjectVariable.java,v <-- AbstractObjectVariable.java new revision: 1.4; previous revision: 1.3 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/AbstractVariable.java,v <-- AbstractVariable.java new revision: 1.50; previous revision: 1.49 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/JPDAThreadImpl.java,v <-- JPDAThreadImpl.java new revision: 1.35; previous revision: 1.34
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.