try // Code that may raise an exception x := 1 / 0; except on EException do // Handle exception using MadExcept MadExcept.ShowException; end; uses MadExcept;
var ExceptHandler: TExceptHandler;
We use cookies on our site to offer you a better browsing experience, analyze site traffic and serve personalized content as detailed in our Website Privacy Notice. If you click on "Accept All Cookies", you consent to our use of cookies. To change your cookie preferences (including to view information on how to disable cookies), click on "Cookie Settings".
try // Code that may raise an exception x := 1 / 0; except on EException do // Handle exception using MadExcept MadExcept.ShowException; end; uses MadExcept;