Search found 73 matches

by santiago
Wed May 11, 2016 6:15 pm
Forum: madExcept
Topic: madExceptPatch.exe -> patch all bpl's or just the exe?
Replies: 7
Views: 7807

Re: madExceptPatch.exe -> patch all bpl's or just the exe?

Madschi, I got it working as I need it to. I did end up using a MES file for the BPL projects though. You had written: You can do that by calling madExceptPatch on the BPLs without any MES file. In that case only the map file information is added into the BPLs' resource section, without doing anythi...
by santiago
Wed May 11, 2016 4:18 pm
Forum: madExcept
Topic: madExceptPatch.exe -> patch all bpl's or just the exe?
Replies: 7
Views: 7807

Re: madExceptPatch.exe -> patch all bpl's or just the exe?

I finally figured it out. I enabled madExcept for the bpl packages. In the madExcept project options for these BPL packages I only checked 'link in function names and line numbers'. In my sample project I now have a MES file for every BPL package. When I build via MSBUILD and manually call madExcept...
by santiago
Tue May 10, 2016 11:36 pm
Forum: madExcept
Topic: madExceptPatch.exe -> patch all bpl's or just the exe?
Replies: 7
Views: 7807

Re: madExceptPatch.exe -> patch all bpl's or just the exe?

Thanks madshi! I made a sample app to figure this out. I want it all to work properly :-) I have a project group with 3 projects. Two LIBS and the EXE. I only enabled madExcept on the EXE. But I do use madExcept in one of the Libs -> None of the Libs has a MES file. The EXE uses the BPL versions of ...
by santiago
Tue May 10, 2016 8:30 pm
Forum: madExcept
Topic: Trying to run the demo app: ExcCatch on Delphi 10 (Seattle)
Replies: 1
Views: 2752

Trying to run the demo app: ExcCatch on Delphi 10 (Seattle)

Hi there, I can open and compile ExcCatch.dpr in Seattle just fine. When I try to run the exe I get the following error: "The program can't start because ec.dll is missing from your computer. Try reinstalling to fix this problem". In my madExcept Configuration I have enabled: - adjust proj...
by santiago
Mon May 09, 2016 2:26 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

madshi, thanks for all your help! I am sorry, but I still do not quite understand why the delay happens when I manually call HandleException inside the except block. If I remove the try except block and just let madExcept handle the exception. The exception box appears instantly and already contains...
by santiago
Fri May 06, 2016 9:45 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

I was reviewing some older posts on this forum and ran into this one: madExcept is busy for a long time after crash http://forum.madshi.net/viewtopic.php?f=4&t=27973 In there madschi asks: " 2) Are you using self written DLLs which are compiled with madExcept? " This is the case for me...
by santiago
Fri May 06, 2016 7:59 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

The approach I described above works. But there is one small detail (which should be simple to solve, I hope) that needs to be addressed. If I just raise an exception (without try except) the madExcept box shows up almost instantly. It is very fast. However if I use the approach outlined above, whic...
by santiago
Fri May 06, 2016 5:24 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

I got it to work by passing a special dummy object as RelatedObject to Handle Exception HandleException(etNormal, nil, nil, True, 0, 0, nil, esManual, FlagObject, 0); In my handler: if exceptIntf.RelatedObject = FlagObject then exceptIntf.ShowSetting := ssNothing; If I understand correctly 'RelatedO...
by santiago
Fri May 06, 2016 4:46 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

Thanks for the addiotional info.

Unfortunately those try except blocks need to stay.

Is it possible to have CreateBugReport call all registered exception handlers?
That would be best way to achieve what we need.

Thanks again!
by santiago
Fri May 06, 2016 4:24 pm
Forum: madExcept
Topic: madExceptPatch.exe -> patch all bpl's or just the exe?
Replies: 7
Views: 7807

madExceptPatch.exe -> patch all bpl's or just the exe?

Hi there, When compiling from the IDE madExcept works fine. When we use our MSBUILD script madExcept was not showing the exception box. So I patched the .exe using the madExceptPatch.exe as part of our build script and now the madExcept box shows. Call stack info is displaying properly. However I am...
by santiago
Thu May 05, 2016 9:56 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

Re: How to just log an exception?

Thanks for the quick reply!!! Yes, when I started the post I was trying to just log an exception. But then I figured it out (or at least thought so :-) ). In ExceptionalMagic you could call a method that would just add the exception to the log file. This is useful if you have a try except block. In ...
by santiago
Thu May 05, 2016 9:11 pm
Forum: madExcept
Topic: How to just log an exception?
Replies: 10
Views: 8882

How to just log an exception?

Hi there,

we are evaluating madExcept. Our app is still using Exceptional Magic.

So far I'm very impressed with madExcept.

I see the HandleException function has a parameter named: showReport of type TPString.
What is that for? It is not described in the docs.

Thanks!