News:

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

Main Menu

Debugging with VS2003 Toolkit

Started by cpsmusic, April 21, 2006, 11:31:32 AM

Previous topic - Next topic

cpsmusic

Hi,

I'm new to Code::Blocks. I'm working on Windows XP. I've set up Code::Blocks to use two compilers--GCC and the VS2003 Toolkit compiler. I also have the full VS2003 version installed.

What I'm unclear about is how to set the debugger for VS2003. I've set up GDB for GCC and it works properly. What debugger do I use with VS2003?

Cheers,

Chris


PChris


Frank3000

Klingon multitasking systems do not support 'time-sharing'. When a Klingon program wants to run,
it challenges the scheduler in hand-to-hand combat and owns the machine.

Chris Share

Thanks,

I've downloaded and installed the Debugging Tools for Windows.

I'm having a problem setting the path to the correct directory for cdb.exe. If I open Settings -> Compiler -> Programs I can set the Debugger option to cdb.exe. I then set an Additional Path to C:\Program File\Debugging Tools for Windows. When I try to debug the program I get a message saying that the debugger executable is not set.

What am I doing wrong here?

Cheers,

Chris

Jon Moore

I'm having the same problem with the debugger directory not being set.  Anyone know how to set this up correctly?

BordRider

Turns out there are a couple of places to set this option (I think):

Project > Build Options

and

Settings > Compiler and Debugger

You've probably already figured it out, but when I was getting started it took me a while to realize that I needed to set the compiler and its options in the project settings since I started the project before I set the compiler in the main settings. 

I could be totally off base but fiddling with that did get it running for me.