Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 53508 - Activate debug action set with debug view
Summary: Activate debug action set with debug view
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-02 12:36 EST by Jared Burns CLA
Modified: 2004-05-14 16:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2004-03-02 12:36:47 EST
When the debug view is activated, we should programatically activate the debug 
action set.
Comment 1 Jared Burns CLA 2004-04-13 18:04:20 EDT
IWorkbenchPage provides an API to show action sets, but we'd need to call this API when the 
Debug view is opened in a perspective. We'd need the API in Bug 54559 to do this.
Comment 2 Darin Wright CLA 2004-05-07 10:44:47 EDT
Jared, what did we need to do this one? This one is really needed to make 
debugging in non-debug persp play well. I just did the "out of box experience" 
but it did not play well:

* empty workspace
* new project, new class
* debug to breakpoint
* don't swtich when prompted
-> debug view opens but debug keys don't work

If this is just an issue of cleaning up (closing) the action set, then I think 
we should at least open it, and file a bug saying we do not clean up properly.
Comment 3 Jared Burns CLA 2004-05-07 19:34:39 EDT
Actually, bug 54559 isn't a problem. We can just try to turn the action set on all the time - every 
time the view becomes visible. If the user manually turns off the action set, the workbench won't 
honor our request anyway so no harm is done.
Comment 4 Jared Burns CLA 2004-05-07 19:37:16 EDT
Please verify change to LaunchViewContextListener, DW.
Comment 5 Darin Wright CLA 2004-05-10 22:49:35 EDT
Doesn't work... I think the problem is that the context listener is made for a 
launch view (as it is opened), so it never gets the partVisible notification.
Comment 6 Jared Burns CLA 2004-05-11 00:00:39 EDT
Right. :) In all my testing, I had the debug perspective already open and then went to the Java 
perspective. I forgot to cover the first case.
Comment 7 Jared Burns CLA 2004-05-11 01:31:38 EDT
Fixed the missing case. Please verify change to LaunchViewContextListener, DarinW.
Comment 8 Darin Wright CLA 2004-05-14 16:05:23 EDT
Verified.