Forum > Debugger
Heaptrc and 'Win32 gui application'
dseligo:
Lazarus 2.2.6, Windows 11.
If I uncheck 'Win32 gui application (-WG)' option and check 'Use Heaptrc unit (check for mem-leaks) (-gh)' option, then, after application ends, result of heaptrc is not shown in window, but is printed in console window.
Problem is that this console window closes immediately after application ends and I don't have time to inspect heaptrc results.
Is there an option to keep console window open after application ends?
TRon:
The use case as described is imho counterproductive (not starting from a console but do write to it) . If you need the output for (future) reference then you can use one of the environment options or use SetHeapTraceOutput.
dseligo:
Is there an option to force result of heaptrc to show in window then?
TRon:
Lazarus, menu/view/leaks and traces was meant for that purpose but, I have a hunch that is not what you meant when you asked that question ?
Thaddy:
Reading documentation seems to be an art... This is an annoying question to me...
You've got everything on a plate and still open a new topic?
Navigation
[0] Message Index
[#] Next page