User forums > Help

GDB wont work anymore.

(1/1)

Daazku:
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.

--- End code ---

and after that my program won't start. Dunno why.. it's worked before...

Daazku:
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
--- End code ---

mmkider:

--- Quote from: 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
--- End code ---

--- End quote ---
You can try this: Disable this option of catch c++ execption.

ollydbg:
to OP:
If you post your code, I'd test for you in my environment :D.

Daazku:
Sorry for the late answer:

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

Navigation

[0] Message Index

Go to full version