[fpc-pascal] Debug and Release RTL & FCL side by side

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Apr 29 11:20:15 CEST 2016


I sometimes hit a bug in my applications, but then there is no Stack
Trace information, or simply something like 3 entries that don't give
much information. See attached screenshot as an example. Apparently this
is caused by the fact that I'm using a Release build of the RTL and FCL
and the error was raised inside the RTL or FCL code.

So is there a recommended FPC setup having a Release and Debug RTL & FCL
side by side. Then in my IDE of choice (or build scripts) I can switch
between them as needed. I believe Delphi had a similar setup (or maybe
it was only for the VCL), but its been too long since I really used
Delphi to remember what Borland did.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugger.png
Type: image/png
Size: 4343 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160429/b5756d10/attachment.png>

More information about the fpc-pascal mailing list