Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 36095 - Debugger needs a notion of perspective or a better way to hide/show actions
Summary: Debugger needs a notion of perspective or a better way to hide/show actions
Status: RESOLVED DUPLICATE of bug 36495
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-04 17:34 EST by Marcio CLA
Modified: 2003-07-09 16:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcio CLA 2003-04-04 17:34:45 EST
When Debugging code in my language (my own IProcess, IThread etc) I can go to 
the Variables view. However, I see a bunch of Java-related GUI options in 
there (pull-down menu etc). These language-specific GUI options should only be 
visible when I am debugging an IProcess/IThread/IDebugTarget for that 
programming language.

The way it is today, the set of user GUI controls will be the sum of all GUI 
controls of all languages installed via plugins. That is confusing. If I use 
Eclipse for Java, PHP and Eiffel I have different project natures / 
perspectives for editing, so when Debugging one expects this modality to be 
respected as well.

(You can see this bug report as a feature request instead of a bug if you 
consider "confusing GUI" not as a bug but as a subject for extra features.)
Comment 1 Darin Swanson CLA 2003-04-04 20:24:23 EST
The debugger does have the notion of debug action groups.
See Window>Preferences>Debug>Debug Action Groups.
Using this preference you can turn off the Java debug actions. As well you can 
create your own action groups for other languages.

We acknowledge that this is only a partial solution.
Comment 2 Darin Wright CLA 2003-04-07 11:22:50 EDT
We are planning to investigate scalability issues in 2.2 - actions, views, 
launch configs, etc.
Comment 3 Marcio CLA 2003-04-07 11:36:13 EDT
Thanks for considering it. Changing on-the-fly based on the selection on the 
Tree pane on the top left would be a lot better than 
Window>Preferences>Debug>Debug Action Groups.

By the way, what is the extension point for showing up at 
Window>Preferences>Debug>Debug Action Groups ? I have the PHP plug-in and it 
does not show up at Window>Preferences>Debug>Debug Action Groups. I'd like to 
know what extension point it is so I can put my own language there. I have my 
own special STEP button which is not needed when debugging other languages, so 
I guess for now (2.1) I will have to settle for Window>Preferences>Debug>Debug 
Action Groups.

Thanks in advance.
Comment 4 Marcio CLA 2003-04-08 10:00:00 EDT
Answering my own question, in case it helps others - The extension point for 
Window>Preferences>Debug>Debug Action Groups is 
org.eclipse.debug.ui.debugActionGroups

Special thanks to Eduardo Pereira for answering the question.
Comment 5 Marcio CLA 2003-04-22 10:55:37 EDT
Window>Preferences>Debug>Debug Action Groups does not remove the menu actions 
under the Run menu. This means that the user may end up seeing 3 menu options 
called "Watch" (one for Java, one for PHP, one for Eiffel for example).

Window>Preferences>Debug>Debug Action Groups should also hide the menus under 
Run. The JDT menu options under Run don't go away regardless of 
Window>Preferences>Debug>Debug Action Groups. Is this an Eclipse limitation or 
a JDT "bug", not registering those actions as debug actions that can be hidden ?
Comment 6 Darin Swanson CLA 2003-04-22 10:58:23 EDT
See bug 22818.
Comment 7 Darin Wright CLA 2003-07-09 16:24:16 EDT
This should be addressed by debug contexts. Marking as dup.

*** This bug has been marked as a duplicate of 36495 ***