Forum > Debugger
How to configure Lazarus for debug a proyect
(1/1)
mac:
:?:
(Lazarus into a Linux system)
When my proyect is running and crashs, only a tipical 'Invalid floating point operation', for example. I need the line where the code crashs.
if I wrote in "Debugger Option" this:
- GNU debunger (gdb)
- /usr/bin/gdb (yes, it's here)
But no work properly.
Can you help me?
or
Do you know information about this?
Thanks
Marc:
Make sure that you don't use a launching application (run parameters)
If this isn't the case what output is there in View-Debugger--Output ?
Angello:
first thanks to all people that made Lazarus :)
I think It will be nice to include a working binary of GDB in the distributions (linux, especially win32). I`ve tested debugging under win98,XP and linux.
under 98 - not working, at console I see: "[TDebugManager.DoInitDebugger] A" and message dialog "The launching application "C:\mingw\bin\gdb.exe" does not exists or is not executable See Run->Run parameters->local".
under winXP works, (i don`t know how to evaluate variables)
under linux works even better :-)
Vincent Snijders:
First I would like debugging in windows to be a bit more stable. If I think debugging is stable enough (for example you can add/modify/delete watches and show stacktrace), I will release a new lazarus installer. I will include a working binary of gdb too, of course.
I deliberately left it out, to lower the chance of getting bug reports about these known issues.
Navigation
[0] Message Index