Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: cpsmusic on April 21, 2006, 11:31:32 am
-
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
-
I think cdb.exe
-
Debugging Tools for Windows:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
-
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
-
I'm having the same problem with the debugger directory not being set. Anyone know how to set this up correctly?
-
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.