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.

Bug 106345 - one engines ToggleBreakpointAP can disable presenter for all engines
Summary: one engines ToggleBreakpointAP can disable presenter for all engines
Status: CLOSED DUPLICATE of bug 59915
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-12 02:32 UTC by ivan
Modified: 2010-04-29 09:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2007-06-12 02:32:58 UTC
scenario:
- both dbxgui and debuggerjpda modules are loaded.
- user has a jpdadebugger session 
- user intends to put a bpt in non-java src code and start debugging it.
  Run->ToggleBpt action is disabled
  Clicks on glyph gutter are ineffective.

The direct cause of this is that jpdadebuggers ToggleBreakpointActionProvider
disables the action. It disables it because the "current source" is not
".java".

suggested fix: arrange so that debuggercore sets the enabledness of
the action based on the logical-or of the enabledness of all active
actionproviders. When time comes to route the action it should only
be forwarded to the engines which had the actionprovider be enabled for
that action.
Comment 1 Martin Entlicher 2007-06-12 09:34:28 UTC
This is in fact a duplicate of issue #59915.
It's already fixed in 6.0, by checking the actions from the default
ActionsManager. This should work for dbxgui as well.

*** This issue has been marked as a duplicate of 59915 ***
Comment 2 Quality Engineering 2010-04-29 09:33:33 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.