On Sat, 5 May 2018, Marcos Douglas B. Santos wrote:
I'm using fpWeb in standalone mode (fphttpapp unit) to develop and debug.
I would like to see the heaptrc log in the end, as we can do in normal
desktop applications.
So, in one route I create an object and don't release it to simulate a memleak.
I've tried to set heaptrc.SetHeapTraceOutput('log.txt'). The app
creates the file, but there is no log there.
This is definitely necessary.
I've tried to execute using F9 IDE and by command-line too.
I think the problem is that we need to kill the server (Ctrl+C) and,
because that, no log is created.
So, how can I see the log?
Create a call that calls Application.Terminate.
Michael.
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal