[Lazarus] TThread.Synchronize
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Oct 25 15:54:49 CEST 2016
On Tue, 25 Oct 2016 15:02:06 +0200
LacaK via Lazarus <lazarus at 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
More information about the Lazarus
mailing list