Author Topic: borland c debugger and codeblocks?  (Read 9329 times)

Offline Spleshmen

  • Single posting newcomer
  • *
  • Posts: 5
borland c debugger and codeblocks?
« on: May 24, 2009, 04:17:48 pm »
i just installed borland c 5.5 and using it with code blocks,works wonders :) but i cant figure out how to use the debugger,can somebody please point me to the right direction?thanks

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6034
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: borland c debugger and codeblocks?
« Reply #1 on: May 24, 2009, 05:08:13 pm »
Not sure the debugger from borland c 5.5 is supported.
As far I can remember, borland c 5.5 is just a compiler package, not include a debugger.

I suggest you use MinGW instead.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Spleshmen

  • Single posting newcomer
  • *
  • Posts: 5
Re: borland c debugger and codeblocks?
« Reply #2 on: May 24, 2009, 06:40:47 pm »
i am using in school the borland c compiler (borland 3.1) so i need to work using that compiler...any other suggestions?
thanks

Offline Bonanza

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Engineer
Re: borland c debugger and codeblocks?
« Reply #3 on: May 24, 2009, 07:46:33 pm »
A year ago I faced the same challenge, and spent some time digging.

The closest I came to a solution is by searching for "Turbo Debugger", but I think there is a far way to have something working from codeblocks with that.

Since I have only used MinGW and Microsoft for that exact reason.

Offline grischka

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: borland c debugger and codeblocks?
« Reply #4 on: May 24, 2009, 10:12:52 pm »
Ollydbg understands borland debugging format.  On the plus side it is a real debugger.

Offline Spleshmen

  • Single posting newcomer
  • *
  • Posts: 5
Re: borland c debugger and codeblocks?
« Reply #5 on: May 26, 2009, 11:15:07 pm »
thanks for the answers
is there any way i can atach Ollydbg to code::blocks?thanks

Offline grischka

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: borland c debugger and codeblocks?
« Reply #6 on: May 27, 2009, 07:37:44 pm »
is there any way i can atach Ollydbg to code::blocks?
Sure: Menu -> File -> Attach