Author Topic: Breakpoints in Borland  (Read 4782 times)

Axelio

  • Guest
Breakpoints in Borland
« on: February 19, 2010, 02:29:58 am »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Breakpoints in Borland
« Reply #1 on: February 19, 2010, 06:51:34 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ