Code::Blocks Forums

User forums => Help => Topic started by: Daazku on December 29, 2008, 08:07:56 pm

Title: GDB wont work anymore.
Post by: Daazku on December 29, 2008, 08:07:56 pm
I have a problem with gdb... When i start the debugger i have this message:

Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Release
Adding source dir: C:\C++\
Adding source dir: C:\C++\
Changing directory to: Ressources
Adding file: Ressources\Client.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8
No source file named C:/C++/Client/Engine/Interface/Interfaces/Login.cpp in loaded symbols.
Breakpoint 1 ("C:/C++/Client/Engine/Interface/Interfaces/Login.cpp:132) pending.

and after that my program won't start. Dunno why.. it's worked before...
Title: Re: GDB wont work anymore.
Post by: Daazku on December 29, 2008, 09:13:55 pm
Ok now its work.. i really dont know why..

But i put a break point in a function and gdb crash...
Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\C++\
Adding source dir: C:\C++\
Changing directory to: Ressources
Adding file: Ressources\ClientDebug.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8
Child process PID: 2132
At C:/C++/Client/Engine/Interface/Interfaces/Login.cpp:64
Debugger finished with status 1
Title: Re: GDB wont work anymore.
Post by: mmkider on December 30, 2008, 05:07:07 am
Ok now its work.. i really dont know why..

But i put a break point in a function and gdb crash...
Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\C++\
Adding source dir: C:\C++\
Changing directory to: Ressources
Adding file: Ressources\ClientDebug.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8
Child process PID: 2132
At C:/C++/Client/Engine/Interface/Interfaces/Login.cpp:64
Debugger finished with status 1
You can try this: Disable this option of catch c++ execption.
Title: Re: GDB wont work anymore.
Post by: ollydbg on January 04, 2009, 02:56:52 pm
to OP:
If you post your code, I'd test for you in my environment :D.
Title: Re: GDB wont work anymore.
Post by: Daazku on January 22, 2009, 04:40:46 am
Sorry for the late answer:

Finally i don't know why, i changed nothing (apparently...), it worked... Thanks neway.