News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Breakpoints in Borland

Started by Axelio, February 19, 2010, 02:29:58 AM

Previous topic - Next topic

Axelio

Hi Hi

I use code blocks to do programs with the Borland Compiler, using the gdb debugger.
The problem is that i can set the breakpoints but the debugger don't stop in the breakpoint, it continues until
the end of the program

Do you know how to fix this problem??

Thanks

MortenMacFly

Quote from: Axelio on February 19, 2010, 02:29:58 AM
Do you know how to fix this problem??
You'll need a debugger which is compatible to the compiler you are using.

Unless someone proofs me wrong I'd say that the borland compiler needs a borland debugger and you won't be able to debug using the GNU debugger. However, the borland debugger is not supported in C::B, only MS and GNU debuggers are.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]