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 136008 - Provide a mechanism to register additional actions in Debug Main Project toolbar button.
Summary: Provide a mechanism to register additional actions in Debug Main Project tool...
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 15:38 UTC by _ sandipchitale
Modified: 2008-05-29 09:58 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2008-05-28 15:38:37 UTC
Here is the use case description:
NetBeans 6.5 will support client side JavaScript debugging using Firefox and Internet Explorer.

By default when the user clicks on the *Debug Main Project *button in the build toolbar the JavaScript debugger (for
project types that support this) will be invoked for the default browser configured in the Tools:Option. However if the
user wants to, s/he should be able to invoke the debug the project using a specific browser. To avoid requiring the user
to go to the Tools:Option to change the default browser a solution is something like this is envisioned:

[DMP Button | v]
                    Debug Main Project
                    Attach Debugger...
                    -----------------
                    Debug Main Project with Firefox
                    Debug Main Project with Internet Explorer

The last two actions basically explicitly invoke the debugging for respective browser. Of course, the actions will be
shown for project types that support client side JavaScript debugging and based on the platform the user is running on
and if the user has requested client side debugging in the project properties.
Comment 1 Martin Entlicher 2008-05-29 09:58:48 UTC
We will create some folder under "Actions/Debug" in module layers for these actions and modify
DebugMainProjectAction.getToolbarPresenter() to read them.