Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Display gdb console by default when debugging?
Display gdb console by default when debugging? [message #234950] Fri, 19 June 2009 04:32 Go to next message
Eclipse UserFriend
Is there a way I can configure the "Console" tab so that it displays the
gdb console by default, not the the C/C++ program console, when debugging
a program?

Thanks,

- Toralf
Re: Display gdb console by default when debugging? [message #234996 is a reply to message #234950] Sat, 20 June 2009 10:45 Go to previous messageGo to next message
Eclipse UserFriend
In the Debug Configurations Dialog - Common-Register - click the "allocate
console" box
Re: Display gdb console by default when debugging? [message #235052 is a reply to message #234996] Mon, 22 June 2009 10:51 Go to previous message
Eclipse UserFriend
> In the Debug Configurations Dialog - Common-Register - click the "allocate
> console" box
No, I don't think that's it, as I've tried both settings in this box, and
neither seem to give me what I want.

But perhaps I wasn't quite clear on what I'm looking for:
If the "allocate console" box is checked, I get a Console view where I can
switch between 3 types of output and/or input, via an icon in the toolbar
of the view. These are:
1. The build output for the program.
2. Display of stdout and stderr of the program.
3. Output of information printed by the debugger (as opposed to the
program), and direct input of gdb commands.

Now, when I start a debugging session, the Console display is always in
mode 2. I quite simply want it to start up in mode 3 instead, and also to
stay there until I choose one of the other options; currently, the view
will automatically switch back to mode 2 if I select mode 3, then
(re)start execution of the program or just step a single command.

Actually, I think I would prefer having separate "consoles" for the above
mentioned types of input/output, rather than one Console with separate
"modes".
Previous Topic:Plug-in for a new toolchain.
Next Topic:Makefile generation using a command-line tool
Goto Forum:
  


Current Time: Sat Jul 12 21:11:02 EDT 2025

Powered by FUDForum. Page generated in 0.04198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top