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.
Summary: | Cannot add breakpoints when debugging another project | ||
---|---|---|---|
Product: | debugger | Reporter: | Jiri Prox <jiriprox> |
Component: | Code | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | artibee, julieg |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Prox
2005-06-14 08:36:06 UTC
Reproduced. Starting to work on it... This is a problem in debugger core. The ActionsManager does not have the AntBreakpointActionProvider registered when JPDA debugger is started. Only JPDA-related providers are used. Therefore the Toggle Breakpoint action is not enabled on ant files. The same, but vice-versa happens when ant debugger is started. *** Issue 58585 has been marked as a duplicate of this issue. *** This likely needs some change in the architecture - too late for 5.0. Scheduling for future... *** Issue 82497 has been marked as a duplicate of this issue. *** We should document this issue in Trouble shooting section of BPEL Design guide. sorry meant to add that comment to the BPEL duplicate of this bug. What is the workaround? The workaround is to wait with the setting of breakpoints till the appropriate debugger session is started (or made active), or finish the current debugging session. In other words, while e.g. Java debugger is active, no BPEL or ANT breakpoint can be submitted. So either Java session needs to be finished, or BPEL or ANT debugger started (there can be several sessions running simultaneously, but only one can be active). Fixed in trunk, hopefully without undesired side-effects. The actions from the default actions manager are taken into account when they are not enabled in the current engine's actions manager. This makes breakpoint actions providers work also in non-active debuggers. /cvs/debuggercore/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java,v <-- DebuggerAction.java new revision: 1.13; previous revision: 1.12 I've merged the fix into release55_dev branch, so that you can test it and decide whether we should integrate this fix into release55. /shared/data/ccvs/repository/debuggercore/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java,v <-- DebuggerAction.java new revision: 1.8.8.2.2.1.14.1; previous revision: 1.8.8.2.2.1 verified in trunk *** Issue 106345 has been marked as a duplicate of this issue. *** |