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.
Several issues found during the review of the Debugger APIs. (1) Describe clearly how the (JPDA) debugger is started and how the exceptions should be handled. In DebuggerJPDA-API/apichanges.html it is stated that JPDADebugger.getException() was added to inform about problems during debugger start (asynchronous). This is a bit misleading since the method was removed later when support for synchronous start was added (JPDADebugger.waitRunning()). (2) Provide a description of creating and processing JPDABreakpointEvent event. The current JavaDoc for JPDABreakpointEvent is too brief. According to API changes from May 11th, four new methods were added, but it is not clear why (e.g. what is resume() method good for in an event object?). It seems JPDABreakpointEvent may serve to more breakpoint types and different purposes. (3) ActionsManager javadoc needs update. JavaDoc for ActionsManager and DebuggerEngine in Debugger Core API is almost the same. Also the advertised action constants should be in ActionsManager (mentioned n API changes April 29th). (4) Describe clearly the difference between ContextProvider and EngineContextProvider from Debugger JPDA API. They have the same summary in JavaDoc ("Provides editor, source and classpath context for debugging.").
add 1) JPDADebugger.getException () has been replaced by JPDADebugger.waitRunnig (). This method has JavaDoc comment. add 2) JavaDoc has been updated. add 3) JavaDoc has been updated. add 4) JavaDoc has been updated. Fixed in the main trunk: Checking in api/src/org/netbeans/api/debugger/ActionsManager.java; /cvs/debuggercore/api/src/org/netbeans/api/debugger/ActionsManager.java,v <-- ActionsManager.java new revision: 1.6; previous revision: 1.5 done Checking in api/src/org/netbeans/api/debugger/DebuggerEngine.java; /cvs/debuggercore/api/src/org/netbeans/api/debugger/DebuggerEngine.java,v <-- DebuggerEngine.java new revision: 1.7; previous revision: 1.6 done Checking in api/src/org/netbeans/api/debugger/jpda/JPDABreakpointEvent.java; /cvs/debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDABreakpointEvent.java,v <-- JPDABreakpointEvent.java new revision: 1.3; previous revision: 1.2 done Checking in api/src/org/netbeans/api/debugger/jpda/JPDADebugger.java; /cvs/debuggerjpda/api/src/org/netbeans/api/debugger/jpda/JPDADebugger.java,v <-- JPDADebugger.java new revision: 1.12; previous revision: 1.11 done Processing log script arguments... More commits to come... Checking in api/src/org/netbeans/spi/debugger/jpda/ContextProvider.java; /cvs/debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/ContextProvider.java,v <-- ContextProvider.java new revision: 1.12; previous revision: 1.11 done Checking in api/src/org/netbeans/spi/debugger/jpda/EngineContextProvider.java; /cvs/debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/EngineContextProvider.java,v <-- EngineContextProvider.java new revision: 1.6; previous revision: 1.5 done
I believe Tomas is satisfied with javadoc now thus verifying on his behalf.