How to hide line of Errors from other * .Pas files ?

delphi package - automated exception handling
Post Reply
luciano_f
Posts: 47
Joined: Thu Feb 01, 2018 5:11 pm

How to hide line of Errors from other * .Pas files ?

Post by luciano_f »

I generated a simple exception like this :

Var I : Integer;
Begin
I := StrtoInt('A');
End;

MadExcept shows several lines of error code that I do not want to show.

I put a component in the form called "TdxSkinController"
of the company "www.devexpress.com"

how could I do to hide those line of code from the component ?

Here's how I put it together in two Attached Images.
Attachments
Config_MadExcept.png
Config_MadExcept.png (120.12 KiB) Viewed 3212 times
Long Lines MadExcept.jpg
Long Lines MadExcept.jpg (244.94 KiB) Viewed 3212 times
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: How to hide line of Errors from other * .Pas files ?

Post by madshi »

Artificial Intelligence hasn't really reached madExcept yet. So madExcept isn't able to intelligently figure out which callstack items you want to be shown and which not. Actually, I don't even know myself which ones you want to see and which not? Shouldn't you want to see *all* source code locations the crashing thread went through to arrive at the crash location?

In any case, if you want to hide PAS DevExpress PAS files, you need to make sure that the DevExpress PAS files are compiled without line number information. The Delphi compiler has options to define whether PAS files are compiled with or without line number information.
Post Reply