On Fri, April 29, 2016 11:20, Graeme Geldenhuys wrote:
Hi, > 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. Obviously, you can have release and debug builds residing in different directories side by side (different location from other third party or your own units). Then depending on your tool of choice, you simply select the right configuration set when compiling and debugging. You can do this with the command line compiler (supplying different configuration files, possibly also having the common part of configuration shared using an include file), you can do that by using the text mode IDE, etc. Or did you mean something different? Tomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal