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:
parent
3bb38bf874
commit
e93de453f8
2 changed files with 10 additions and 1 deletions
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue