Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Debugger console

Hi Vincent,

Are you asking about programatically?

If so, something like
with the view ID should work. Have a look at
Specificially org.eclipse.cdt.debug.internal.ui.views.debuggerconsole.DebuggerConsoleManager.OpenDebuggerConsoleViewJob.runInUIThread(IProgressMonitor)
does a showView, but adds the IWorkbenchPage.VIEW_CREATE flag which
creates the view in the "background" tab. VIEW_ACTIVATE makes it

You may also want to follow bug The Debugger
Console does not use Debug View Management at the moment and using
that (see could help, but that
in itself does not bring it to the top.

Finally, you could add to the console itself a toggle that makes the
tab active in the same way the normal console can do. (i.e. the "Show
Console When Standard Out Changes" toggle in the Console view)

Are you asking as a user?

What I could recommend is you put the view in its own stack, see my
attached screenshot for what I mean. Having the two consoles next to
each other is my standard way of working, and this method is now much
easier without having to create a new Console View and handle all the
pinning. However if you want the standard Console and Debugger Console
stacked, I don't have an answer on the current code.


Jonah Graham
Kichwa Coders Ltd.

On 13 January 2017 at 11:00, Vincent GUIGNOT
<Vincent.GUIGNOT@xxxxxxxxxxxx> wrote:
> Hello,
> I would like to set the focus on the debugger console each time I launch
> a debug session.
> Until 9.1, when launching a debug session, the console has the focus
> with the build before launch, and after the gdb dialog.  Now with the
> 9.2, the console is used by the build before launch as before, but user
> has to change to the correct console.
> So if someone know a easy way to set the focus on the debugger console
> when the debbug session begins ...
> thanks
> Regards
> Vincent
> This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le.
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top