Author Topic: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++  (Read 5657 times)

Offline Jlbfunes

  • Single posting newcomer
  • *
  • Posts: 5
Hello Everyone.

I am a newbie and I don't have too much experience with compilers, linkers and others. I am trying to run a code. It compiled without problems, but there is an error when running so I need to debug it.
I tried to do it directly, but C::B complained saying that the debugger was not installed. Using the info in this thread http://forums.codeblocks.org/index.php/topic,8454.0.html, I was able to install the debugger. Now, I am having the same problem as the people there with the symbols (I don't even know what they mean by symbols). I downloaded all of them, update the environment variables but still no success.
Could anyone provide some advice about this particular problem or, in the worst case, recommend a better (simpler) pair of compiler + debugger for a completely desperate newbie under windows?  :(
Thanks in advance.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875

Offline Jlbfunes

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++
« Reply #2 on: August 23, 2008, 12:27:49 am »
Thank you. I will go through it in this weekend. I'll reply on Monday.

Offline Jlbfunes

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++
« Reply #3 on: August 23, 2008, 01:31:07 am »
The document does not contain information on debugging using Microsoft Visual C++. There is a step-by-step explanation on how to debug a code, though. Thanks anyway.

Offline Jlbfunes

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++
« Reply #4 on: August 23, 2008, 02:25:01 am »
I changed the compiler to the GNU GCC and now it doesn't work at all

Code
-------------- Build: Debug in test01 ---------------

Compiling: wvct.cpp
mingw32-g++.exe: /W3: No such file or directory
mingw32-g++.exe: /Zi: No such file or directory
mingw32-g++.exe: /D_DEBUG: No such file or directory
mingw32-g++.exe: /EHsc: No such file or directory
mingw32-g++.exe: /Zi: No such file or directory
mingw32-g++.exe: /D_DEBUG: No such file or directory
mingw32-g++.exe: /MDd: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

What is this? Can anyone give me a hint on this issue?  :(

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++
« Reply #5 on: August 23, 2008, 02:37:43 pm »
If you change the compiler you also have to change the build options.

You try to use vcc options with gcc, that can not work.

Offline Jlbfunes

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help Vista: Cannot start debugger; using C::B + Microsoft Visual C++
« Reply #6 on: August 25, 2008, 03:43:32 am »
You were right. I just created a new project with the same data and the gcc compiler in the build options and my code is running smoothly now. Thank you.

This thread is finished now.