Code::Blocks Forums

User forums => Help => Topic started by: george2515 on January 25, 2009, 08:11:33 pm

Title: Debbugger problem
Post by: george2515 on January 25, 2009, 08:11:33 pm
I ve just installed cb 8.2 with compiler and debugger. Compiler works fine but the command (button) for debugger is constantly unavailable. I have also enabled "produce debugging symbol" and "compiler warnings" options as mentioned in http://forums.codeblocks.org/index.php?topic=4296.msg34198 (http://forums.codeblocks.org/index.php?topic=4296.msg34198), and still debugging button is not available. So my question wood be what do i need to do to statr debugger? Just for the record, I have just stared programming, so i understand if you feel that this post is kinda noobish but the problem is driving me nuts...
Thanx in advance...
Title: Re: Debbugger problem
Post by: ridge123321 on January 27, 2009, 01:52:01 pm
same problem for me...
Title: Re: Debbugger problem
Post by: ridge123321 on January 27, 2009, 03:29:36 pm
can anyone help us?
Title: Re: Debbugger problem
Post by: joen on January 30, 2009, 05:17:49 am
when you mean by debug do you mean the debug menu - Start (F8)

if so you may need to compile your code to be able to run/debug your code. hope this helps. :)
Title: Re: Debbugger problem
Post by: ridge123321 on January 30, 2009, 11:24:57 am
screenshot of a problem (after compile)...

 :(

[attachment deleted by admin]
Title: Re: Debbugger problem
Post by: ollydbg on February 04, 2009, 11:34:45 am
update to nightly build version.
And create a console project with wizard, then test to check the problem exists.
Title: Re: Debbugger problem
Post by: Jenna on February 04, 2009, 11:42:48 am
Just a guess: do you have asingle file (without a project) ?

Then debugging is not supported.
Title: Re: Debbugger problem
Post by: MortenMacFly on February 04, 2009, 11:48:05 am
Just a guess: do you have asingle file (without a project) ?
Then debugging is not supported.
This is most likely it. I addition: Debugging in a path that contains non-English characters is a bad idea anyways - no matter what platform/debugger. A lot of trouble arises from such.
Title: Re: Debbugger problem
Post by: remuar on February 06, 2009, 10:48:55 am
... haven't solved my problem (sorry) after readind & trying all the answers so here again the question

 :lol: how to I get a debugging with a project I compiled with BCC55
the gdb complains "No symbol table is loaded. Use the "file" command... :(

every attemps to change all the option /-g, -m -v &&& didn't help so it seems I am missing something obviously trivial

BCC55 does not produce a symbol table or gbd doesn't find it why?

Title: Re: Debbugger problem
Post by: Jenna on February 06, 2009, 11:00:07 am
... haven't solved my problem (sorry) after readind & trying all the answers so here again the question

 :lol: how to I get a debugging with a project I compiled with BCC55
the gdb complains "No symbol table is loaded. Use the "file" command... :(

every attemps to change all the option /-g, -m -v &&& didn't help so it seems I am missing something obviously trivial

BCC55 does not produce a symbol table or gbd doesn't find it why?


Why do you hijack foreign threads ?

Why do you believe, that gdb (from MinGW) can work with bcc compiled files (Borland).

Use MinGW gcc and you can debug with gdb.