Graeme Geldenhuys escreveu:
JoshyFun wrote:
(Windows only I think, and I do not know if Lazarus exclusive)

Is there any way to add a cancel button to the window that show leaks
?

It's not specific to Lazarus or Windows. As Vincent said, rather output
to file using an environment variable. The heaptrc documentation
explains it all.


A better solution would be implement some kind of callback in heaptrc that could be hooked by the application to intercept and decide when and how to show. This could allow LCL applications to show e.g. a window with the leakview control instead of the std message window.

Luiz


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to