User forums > Using Code::Blocks

C::B debug (gdb) remove Console of my host application

<< < (2/4) > >>

kccheng:

--- Quote from: kccheng on June 15, 2011, 10:23:17 am ---One more simple question.
I found the latest nightly build maybe 7178, and there is another
DEBUGGER BRANCH which is 7075.
Does 7178 include everything in 7075 DEBUGGER BRANCH ?

--- End quote ---

Mmm... I installed both and got the answer myself ... they are different.
Only 7075 DEBUGGER BRANCH has new debugger features which
are not merged into 7178 yet.

oBFusCATed:
Yes, the normal nightly uses code from trunk in svn.
The debugger's branch nightly use the code in the wxpropgrid_debugger branch in svn.

kccheng:
Just update the situation of my original question.
The debugger branch nightly build doesn't fix the issue ...
no terminal (DOS prompt) and all of the message I display
by printf() disappear.

oBFusCATed:
Have you enable the "Run host in terminal" setting?
Who does create the console the application or C::B, if it is the application you can't blame C::B.

kccheng:

--- Quote from: oBFusCATed on June 17, 2011, 09:45:23 pm ---Have you enable the "Run host in terminal" setting?
Who does create the console the application or C::B, if it is the application you can't blame C::B.

--- End quote ---

I enabled "Run host in terminal", but it doesn't work.
The application is a simple Gtk2 app. compiled without -mwindows linker options.  So
even it was run via click on icon, it will come with a DOS prompt console.

If I set the Gtk2 app as DLL's host application,
the C::B Build->Run will run the host application which still comes with DOS prompt.
But if I use C::B Debug->start ... the host application will be run without DOS prompt.

If I use text mode gdb to run the Gtk2 app (host app) directly, it will run with
DOS prompt.

That's why I guess it might be something inside C::B's debugger plugin.

Regards,
KC

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version