05-25-2018, 01:26 PM
I had an issue where using the integrated IW ExceptionLogger would not print the stack trace.
To include the debug information I use a Jcl tool called MakeJclDbg.exe (in jcl\examples\windows\debug\tools).
This tool takes a *.map converts it to *.jdbg format with the option to include this info in the executable.
Big plus is that the resulting *.exe is a lot smaller than including the debug information from the Delphi compiler (TD32).
When I choose to include this info in the *.exe as a resource, the stack trace is empty.
Origin of this issue is a small error in IWJclDebug.
But this should be kept 'JCLDEBUG' like in the original code. The resname is used to locate the resource holding the debug data.
Using IW14.1.3 with Delphi 10.1 Berlin so maybe its already fixed in the meantime.
Kind regards,
Jeroen Röttink
To include the debug information I use a Jcl tool called MakeJclDbg.exe (in jcl\examples\windows\debug\tools).
This tool takes a *.map converts it to *.jdbg format with the option to include this info in the executable.
Big plus is that the resulting *.exe is a lot smaller than including the debug information from the Delphi compiler (TD32).
When I choose to include this info in the *.exe as a resource, the stack trace is empty.
Origin of this issue is a small error in IWJclDebug.
Code:
const
JclDbgDataSignature = $4742444A; // JDBG
JclDbgDataResName = AnsiString('IWJclDebug'); // do not localize
But this should be kept 'JCLDEBUG' like in the original code. The resname is used to locate the resource holding the debug data.
Using IW14.1.3 with Delphi 10.1 Berlin so maybe its already fixed in the meantime.
Kind regards,
Jeroen Röttink