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

delphi package - automated exception handling

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

Postby luciano_f » Tue Feb 20, 2018 6:50 pm

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.47 KiB) Viewed 616 times
Long Lines MadExcept.jpg
Long Lines MadExcept.jpg (245.64 KiB) Viewed 616 times
luciano_f
 
Posts: 23
Joined: Thu Feb 01, 2018 5:11 pm

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

Postby madshi » Tue Feb 27, 2018 4:23 pm

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.
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 7 guests