[Lazarus] GDB is not good, any tricks to improve it?

Sven Barth pascaldragon at googlemail.com
Thu May 26 11:46:03 CEST 2016

Am 26.05.2016 10:41 schrieb "Tony Whyman" <tony.whyman at mccallumwhyman.com>:
> I take Graeme's point about GDN not being that great for Pascal, but it
does work most of the time and adding a few well placed "writeln"
statements often makes up for any deficiencies (again much easier under
Linux due to the difficulty of getting a working console under Windows). At
least with Pascal you don't seem to get the regular C++ GDB problem of
"variable optimised out" just when need to get its value.

Huh? Debugging with a console on Windows is less of a headache than on Unix
systems. On Windows one just needs to make sure that the apptype is console
and Windows will provide the console for your application to mess around in
(even for GUI applications). On Linux we now have the Terminal Output
window, but that only works if you don't want anything fancy (think the
textmode IDE) otherwise you need to resort to a start application, on older
Mac OS X systems even the terminal output window isn't available...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160526/22d0c800/attachment-0003.html>

More information about the Lazarus mailing list