1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00

Bug 509897: Use View Management for Debugger Console

Change-Id: I509d3b5679e2ab236f8cd09b122ffae603a5fc51
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
Jonah Graham 2017-01-06 11:30:04 +00:00 committed by Gerrit Code Review @ Eclipse.org
parent 3bb38bf874
commit e93de453f8
2 changed files with 10 additions and 1 deletions

View file

@ -1031,6 +1031,10 @@
<contextViewBinding
contextId="org.eclipse.cdt.debug.ui.debugging"
viewId="org.eclipse.debug.ui.ModuleView"/>
<contextViewBinding
contextId="org.eclipse.cdt.debug.ui.debugging"
viewId="org.eclipse.cdt.debug.ui.debuggerConsoleView"
autoClose="false"/>
</extension>
<extension
point="org.eclipse.ui.editors.annotationTypes">

View file

@ -207,8 +207,13 @@ public class GdbCliConsoleManager implements ILaunchesListener2 {
}
addConsole(console);
// No need to open the view manually as it is associated with the Debug view
// and is handled through the automatic view management system.
// It will be opened by the platform.
// See http://eclip.se/509897
// Make sure the Debugger Console view is visible but do not force it to the top
getDebuggerConsoleManager().openConsoleView();
// getDebuggerConsoleManager().openConsoleView();
}
}