I want show heaptrc windows only if error lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2016-05-11 14:07 Does it possible? ---------------------------------------------------------------------- Leledumbo · 2016-05-11 14:29 Quote from: Milsa on May 11, 2016, 04:07:06 pmDoes it possible? No, unless you modify heaptrc source yourself and recompile. ---------------------------------------------------------------------- Ondrej Pokorny · 2016-05-19 05:12 Quote from: Leledumbo on May 11, 2016, 04:29:09 pmQuote from: Milsa on May 11, 2016, 04:07:06 pmDoes it possible? No, unless you modify heaptrc source yourself and recompile. Yes, it is possible. FPC 3.1.1 has heaptrc.GlobalSkipIfNoLeaks. ---------------------------------------------------------------------- avra · 2016-05-20 08:31 Quote from: ondrejpokorny on May 19, 2016, 07:12:21 amQuote from: Leledumbo on May 11, 2016, 04:29:09 pmQuote from: Milsa on May 11, 2016, 04:07:06 pmDoes it possible? No, unless you modify heaptrc source yourself and recompile. Yes, it is possible. FPC 3.1.1 has heaptrc.GlobalSkipIfNoLeaks.Thank you so much for this info. I have just added GlobalSkipIfNoLeaks and SetHeapTraceOutput info to wiki: http://wiki.freepascal.org/heaptrc#Usage ---------------------------------------------------------------------- Thaddy · 2016-05-20 09:10 You forgot to mention "as of version 3.1.1" in the wiki because this is not back-ported to 3.0. ---------------------------------------------------------------------- Ondrej Pokorny · 2016-05-20 09:23 Quote from: avra on May 20, 2016, 10:31:23 amThank you so much for this info. I have just added GlobalSkipIfNoLeaks and SetHeapTraceOutput info to wiki: http://wiki.freepascal.org/heaptrc#Usage Thank you! Quote from: Thaddy on May 20, 2016, 11:10:08 amYou forgot to mention "as of version 3.1.1" in the wiki because this is not back-ported to 3.0. Please update the wiki page. + I just asked on the mailing list to include it into 3.0.2.