Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-12

Pthreads and GDB

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Santiago A.

Hello:

Lazarus 1.2.6, from sourceforge
OS: Linux mint 13.

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

Any idea?

Santiago A.

Santiago A.
Martin Frb
to Santiago A.
Santiago A. wrote 9 lines
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".