Hi,

Anybody know how I can programmatically create a backtrace from within my code?

For example:
 If I want a backtrace at a certain point in my code, I raise and
exception.  Run the program through GDB, break at fpc exceptions and
then ask GDB for a backtrace.

Could I ask FPC to output a backtrace directly by changing the 'raise
Exception.Create(...)' line with something else?


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to