Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: andrewp on September 03, 2012, 03:36:42 am
-
I just started using codeblocks and I am having trouble getting the debugger to work.
Here is the program followed by the output when F8 is pressed. What's wrong?
#include <iostream>
using namespace std;
int main()
{
cout << "Hello\tI am your computer talking." << endl; //breakpoint set here!
return 0;
}
<<<<this is the output from F8>>>>>
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.4
Child process PID: 920
Error in re-setting breakpoint 2: Function "C:/C++ Book/BookI/Chapter01/FirstProject/SayHello/main.cpp:8" not defined.
-
Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
See the notes at the end, I think you're affected by one of them.
-
I couldn't resolve the problem from that information!
-
Have you read and tried this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#Path_with_spaces