Naming internal madExcept threads for debugging

contains all delphi packages mentioned below
Post Reply
a-s-z
Posts: 12
Joined: Tue Sep 15, 2009 11:34 am

Naming internal madExcept threads for debugging

Post by a-s-z »

Hello,

As mentioned in online help, I can use procedure NameThread to name individual threads.

madExcept seems to use SetThreadInfo to name internal threads, so the thread name does not show up in the ide.
Is it possible to show meaningful names in the ide for internal threads of madExcept, e.g. 'SendBugReportThread', 'AntiFreezeThread'?

Regards,
Andre
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

When using Delphi 7 or newer Delphi versions, "NameThread" should already inform the IDE about the thread names. Which Delphi version are you using?
a-s-z
Posts: 12
Joined: Tue Sep 15, 2009 11:34 am

Post by a-s-z »

Hi,
madshi wrote:When using Delphi 7 or newer Delphi versions, "NameThread" should already inform the IDE about the thread names. Which Delphi version are you using?
I am using Delphi2009. I know that NameThread does inform the IDE, but for the internal threads created by madExcept, SetThreadInfo is used instead of NameThread and the IDE is not notified ...

Regards,
Andre
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Ah sorry, misread your post. I'll add this to my to do list.
Post Reply