Search found 7 matches

by wprins
Thu Feb 15, 2018 10:12 am
Forum: madExcept
Topic: exceptIntf.CrashedThreadId content for EFrozen
Replies: 6
Views: 6694

Re: exceptIntf.CrashedThreadId content for EFrozen

"CrashedThreadID" is meant to be used for crashes, not for freezes. That of course also means that there's no reason for you to call InitAntiFreeze or CloseAntiFreeze in the context of a specific thread you want to be analyzed for freezing, because AntiFreeze doesn't do that, anway. It on...
by wprins
Thu Feb 15, 2018 10:06 am
Forum: madExcept
Topic: exceptIntf.CrashedThreadId content for EFrozen
Replies: 6
Views: 6694

Re: exceptIntf.CrashedThreadId content for EFrozen

The frozen state is always detected by the "anti freeze" thread, which then raises an EFrozen exception. That's the whole purpose of that thread. So "GetThreadName(exceptIntf.CrashedThreadId)" works correctly. The freeze detection practically just means that your main thread has...
by wprins
Thu Feb 15, 2018 9:50 am
Forum: madExcept
Topic: exceptIntf.CrashedThreadId content for EFrozen
Replies: 6
Views: 6694

Re: exceptIntf.CrashedThreadId content for EFrozen

OK, can you please clarify what the use of exceptIntf.CrashedThreadID is if it just always returns the same threadID as GetCurrentThreadId(), which is what I understand you answer to imply? (The fact that "CrashedThreadID" is the id of the freezechecking thread seemingly suggests that the ...
by wprins
Wed Feb 14, 2018 2:31 pm
Forum: madExcept
Topic: exceptIntf.CrashedThreadId content for EFrozen
Replies: 6
Views: 6694

exceptIntf.CrashedThreadId content for EFrozen

Hi, Today I tried to modify the bug report email subject to include the thread/client name, within the registered madExcept Exception handler with code as follows: if exceptIntf.ExceptClass = 'EFrozen' then begin exceptIntf.MailSubject := exceptIntf.MailSubject + ' ('+GetThreadName(exceptIntf.Crashe...
by wprins
Mon Feb 05, 2018 11:16 am
Forum: madExcept
Topic: CloseAntiFreeze required before thread destruction?
Replies: 1
Views: 3153

CloseAntiFreeze required before thread destruction?

Hi, Is it mandatory to call CloseAntiFreeze before or on thread destruction (from the same thread that the InitAntiFreeze was called from), or is it OK to omit doing this and leave it up to the thread destruction? (That is, will thread destruction eventually also cause CloseAntiFreeze to be called a...
by wprins
Mon Sep 07, 2015 1:38 pm
Forum: madCollection
Topic: Delphi X10 Seattle
Replies: 5
Views: 14897

Re: Delphi X10 Seattle

Same here. :crazy:
by wprins
Mon Mar 21, 2011 10:53 am
Forum: madExcept
Topic: Old bugreport.txt file
Replies: 15
Views: 45379

Re: Old bugreport.txt file

I think we're seeing the same thing. It's driving me crazy. I'm getting crash reports which have no bearing on what actually happened. This morning was a particular case in point where I was actually the one doing the report (I was VNC'd onto users machine) and to my surprise when I checked the repo...