Community
Participate
Working Groups
When the debug view is activated, we should programatically activate the debug action set.
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.
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.
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.
Please verify change to LaunchViewContextListener, DW.
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.
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.
Fixed the missing case. Please verify change to LaunchViewContextListener, DarinW.
Verified.