Sign in Join

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

Mailing lists / fpc-pascal / 2016-03

Trapping distant exceptions

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Mark Morgan Lloyd

I'm sure I should know this, and think it's an FAQ, and I'm pretty sure somebody (Graeme?) was discussing it recently.

Assuming that an exception handler at the end of a thread procedure has a reliable way of communicating messages with the outside World, what's the preferred way of recovering the location (preferably line number etc.) of range/overflow exceptions for diagnostic messages?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]