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

Summary: Provide a mechanism to register additional actions in Debug Main Project toolbar button.
Product: debugger Reporter: _ sandipchitale <sandipchitale>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.