[Lazarus] Pthreads and GDB

Martin Frb lazarus at mfriebe.de
Sun Dec 14 15:29:16 CET 2014


On 14/12/2014 11:37, Santiago A. wrote:
> I'm working in an application that uses sqlite3. The application runs
> fine from the command line, but in debugger mode  when it reaches the
> sentence:
> SqlCon.Connected:=true;
> raises a strange IDE error:
> "Cannot find new threads: Generic error"
> I've searched, and it looks like a gdb issue, but I'm don't know how to
> fix it
>

I dont know, but people here seem to have had some success: 
http://stackoverflow.com/questions/2702628/gdb-cannot-find-new-threads-generic-error

Not sure how to hard link pthread using fpc, Xut you can play with the 
environment. Either set it for the IDE (will be passed on), or try in 
Menu: "Run" > "Run Param".




More information about the Lazarus mailing list