Search found 6 matches

by gambit47
Tue Mar 01, 2022 10:23 pm
Forum: madExcept
Topic: madExcept and indy threads
Replies: 6
Views: 8937

Re:

It depends on whether the Indy threads manually catch exceptions or whether they leave the exception handling to Delphi's default. I know this is an old discussion. I'm just adding this for future reference. Indy's TIdThread class does indeed have a try..except in its overridden Execute() method to...
by gambit47
Tue Mar 01, 2022 10:03 pm
Forum: madExcept
Topic: RegisterExpectedMemoryLeak
Replies: 25
Views: 23624

Re: RegisterExpectedMemoryLeak

madshi wrote: Mon Oct 06, 2014 6:17 pm madExcept's leak checking should automatically handle leaks registered via RegisterExpectedMemoryLeak() correctly. At least that's the theory...
In practice, has that actually been verified?
by gambit47
Sun Oct 05, 2014 4:16 pm
Forum: madExcept
Topic: RegisterExpectedMemoryLeak
Replies: 25
Views: 23624

Re: RegisterExpectedMemoryLeak

For example, I know that Indy leaks a TIdThreadSafeInteger and 2 of TIdCriticalSection each time my app runs, but this is known about and inconsequential - so I have this at the start of my main program: RegisterExpectedMemoryLeak (TIdThreadSafeInteger, 1) ; RegisterExpectedMemoryLeak (TIdCriticalS...
by gambit47
Thu Jun 01, 2006 9:30 am
Forum: madExcept
Topic: madExcept 3 does not always work under BCB 5
Replies: 4
Views: 5474

What happens if you run your project outside of the IDE. Does madExcept still not catch the exceptions? Sorry, I should have been clearer. I've only been running the project outside of the IDE, not in the debugger. madExcept does not kick in for the kinds of exceptions I am seeing in this project. ...
by gambit47
Wed May 31, 2006 10:34 pm
Forum: madExcept
Topic: madExcept 3 does not always work under BCB 5
Replies: 4
Views: 5474

Re: madExcept 3 does not always work under BCB 5

But when my actual project crashes, madExcept is not kicking in at all. I still see the default VCL exception messagebox. Since enabling madExcept, all of the exceptions that have occured today have been in kernel32, and thus the popup dialog that is appearing now is the OS's own error dialog, not ...
by gambit47
Wed May 31, 2006 8:18 pm
Forum: madExcept
Topic: madExcept 3 does not always work under BCB 5
Replies: 4
Views: 5474

madExcept 3 does not always work under BCB 5

I just installed madExcept 3. I enabled it for one of my existing projects that has been crashing regularly. After I compiled the project, an exception occured while closing the IDE. madExcept caught that exception fine. But when my actual project crashes, madExcept is not kicking in at all. I still...