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.
See issue #57441 - we need to support stepping over statements. A prototype is ready on "AST" branch in debuggercore and debuggerjpda modules. In order to be able to implement this kind of step, we need to enhance the JPDA debugger API. I will attach the actual API change here and ask for review...
Created attachment 37935 [details] The diff of the API change.
Created attachment 37936 [details] A test of the new APIs
Please review this compatible API change, which is necessary for expression-level stepping implementation (issue #57441). Thanks.
Thanks for the review, I'll commit the change into trunk today evening CET.
The API change for the new expression-stepping is in trunk: Checking in debuggercore/api/apichanges.xml; /shared/data/ccvs/repository/debuggercore/api/apichanges.xml,v <-- apichanges.xml new revision: 1.7; previous revision: 1.6 done Checking in debuggercore/api/manifest.mf; /shared/data/ccvs/repository/debuggercore/api/manifest.mf,v <-- manifest.mf new revision: 1.14; previous revision: 1.13 done Checking in debuggercore/api/src/org/netbeans/api/debugger/ActionsManager.java; /shared/data/ccvs/repository/debuggercore/api/src/org/netbeans/api/debugger/ActionsManager.java,v <-- ActionsManager.java new revision: 1.22; previous revision: 1.21 done Checking in debuggerjpda/api/apichanges.xml; /shared/data/ccvs/repository/debuggerjpda/api/apichanges.xml,v <-- apichanges.xml new revision: 1.18; previous revision: 1.17 done Checking in debuggerjpda/api/manifest.mf; /shared/data/ccvs/repository/debuggerjpda/api/manifest.mf,v <-- manifest.mf new revision: 1.20; previous revision: 1.19 done Checking in debuggerjpda/api/src/org/netbeans/api/debugger/jpda/CallStackFrame.java; /shared/data/ccvs/repository/debuggerjpda/api/src/org/netbeans/api/debugger/jpda/CallStackFrame.java,v <-- CallStackFrame.java new revision: 1.10; previous revision: 1.9 done Checking in debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDAStep.java; /shared/data/ccvs/repository/debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDAStep.java,v <-- JPDAStep.java new revision: 1.4; previous revision: 1.3 done Checking in debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDAThread.java; /shared/data/ccvs/repository/debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDAThread.java,v <-- JPDAThread.java new revision: 1.11; previous revision: 1.10 done Checking in debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/EditorContext.java; /shared/data/ccvs/repository/debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/EditorContext.java,v <-- EditorContext.java new revision: 1.10; previous revision: 1.9 done
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.