Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-02

Show crash info to user (MadExcept)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT

Hi

In Delphi i used lib MadExcept. I need similar lib in Laz too. To show to user reason of crash- src filename, line number, stack

How to do it?

Regards, Alexey

Reply by email

Michael Van Canneyt
to AlexeyT
AlexeyT wrote 6 lines
Hi In Delphi i used lib MadExcept. I need similar lib in Laz too. To show to user reason of crash- src filename, line number, stack How to do it?

Hook into the various exception handling routines, and use routines similar to the ones found in heaptrc. The lazarus IDE also contains some nice examples of logging when an exception occurs.

Michael.

Reply by email