Author Topic: debug in CB  (Read 4748 times)

Offline szurilo

  • Multiple posting newcomer
  • *
  • Posts: 37
debug in CB
« on: September 26, 2008, 04:08:55 pm »
Hi!
Maybe it's a stupid question but, is it available in CB to debug inside the IDE?
I mean can i configure gdb like i can in a console window or i just can see the results of the debugging?
Szurilo

Offline Green::horn

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: debug in CB
« Reply #1 on: September 26, 2008, 07:00:54 pm »
Hm, do you mean something like this ???

http://xs131.xs.to/xs131/08395/debug645.jpg


Greetz
Greenhorn

Offline szurilo

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: debug in CB
« Reply #2 on: September 29, 2008, 09:36:47 am »
Actually not.

I want to use some gdb commands like:
info terminal/threads/signals/etc.
kill
set non stop on/etc.
list
etc.
I know most of them are built in C::B, but some aren't.

Szurilo

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: debug in CB
« Reply #3 on: September 29, 2008, 12:57:15 pm »
I want to use some gdb commands like:
[...]
Do you know about the menu item "Debug" -> "Send user command to debugger"?
The result will be piped into the Debug log of C::B.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline szurilo

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: debug in CB
« Reply #4 on: September 29, 2008, 01:20:03 pm »
Ups, I never noticed that menu item.  :oops:
thx
Szurilo