[Lazarus] QueueAsyncCall() scheduling

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat Jul 17 14:36:30 CEST 2010


On Thu, Jul 15, 2010 at 8:07 PM, Andrew Brunner
<andrew.t.brunner at gmail.com> wrote:
> TGDBMIDebugger.ProcessResult Error: ,msg="Invalid cast."
> TCarbonWidgetSet.AppBringToFront Error: SetFrontProcess  failed with result -606
> [Debugger] Log output: &"x/s ^Exception($rdi)^.FMessage\n"

Ok, I launched the app directly in the Project.app../Project from a
terminal and that was able to report that a file I use for logging was
not able to be opened for read/write (TFileStream).  It was an
exception raised on TFileStream.Create but GDB under Darwin could not
pass that exception to me.

It wasn't a problem with Lazarus/FPC but rather with GDB under Darwin.
 It is advisable that ppl with GDB problems under Lazarus execute
their apps from the prompt to get more specific debugging info during
crashing.  At least it helped for me.

But at least my app runs now.




More information about the Lazarus mailing list