On Tue, 25 Oct 2016 15:02:06 +0200 LacaK via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> >> I do not call CheckSynchronize nor ProcessMessages in my application. > >> So only any LCL component or widget set can call it in background ? > > > > It should be easy for you to set a breakpoint into MyForm.MyMethod and > > check the call stack. > > > But error (AV) happens only in production and only sometimes. > Is there any way how to write call stack into file ? You can try GetStackTrace(true) and save it string to a file. It must be called from main thread. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus