[lazarus] Trace routines using Assert doesn't work

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Jul 27 04:46:58 EDT 1999




On Tue, 27 Jul 1999, Michael A. Hess wrote:

> I have written the Trace routines and have assigned the AssertErrorProc
> procedure. Everything should work like gang busters but it doesn't.
> Everything is setup correctly and my handler is called if an Assertion
> fires. The problem is that if I do any kind of writing from in my
> Handler such as a simple writeln the program throws and exceptions and
> stops. If I don't have any code in the handler the program runs fine.
> Add just one writeln and it will output whatever the writeln contained
> and then it stops cold.
> 
> What could be preventing me from adding any writeln code to the handler?
> 
> Any clues compiler guys??

None; the default routine does exactly that: it writes a message !!

Can you send me the unit, I'll have a look.

Michael.






More information about the Lazarus mailing list