Flávio Etrusco pisze:
2010/2/17 Bogusław Brandys <[email protected]>:
Alexander Grau pisze:
I'm answering my own question since I got it solved now by setting an
ExceptionHandler using Application.AddOnExceptionHandler:
application.AddOnExceptionHandler(@MyExceptionHandler);
This will capture exceptions, however a stack trace with line numbers
won't work yet because the default handler is still called and will output a
stack trace with line info, but the 'lineinfo' procedure cannot generate a
2nd, 3rd etc. stack trace with line info (for some unknown reason).
Bug in lineinfo processing. I posted a patch long time ago but it seems
nobody is interested.Now it would require also to fix dwarf lineinfo.
Boguslaw
Is there a mantis entry for this? If not please create it or send the
patch again (so I create it).
Many thanks.
-Flávio
http://bugs.freepascal.org/view.php?id=13518
It maybe now obsolete though.I'm not conversant with current svn changes.
Boguslaw
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus