debugger does not work if CThreads is used but {$linklib pthread} is not given
Original Reporter info from Mantis: mschnell
-
Reporter name: Michael Schnell
Original Reporter info from Mantis: mschnell
- Reporter name: Michael Schnell
Description:
see Summery: Breakpoints and stepping does not work.
Steps to reproduce:
In Lazarus I created a "Program" (not an "Application") with just a "writeln('test');" as program body.
With F7 I can step.
Now I set the compiler option -dUseCThreads and with that "uses CThreads" gets activated.
Now F7 takes me to "begin" but the next F7 does not step but just run the program.
Additional information:
This is actually quite strange and probably a bug in the cthreads unit.
It should contain the {$linklib pthread} clause instead of loading the
pthreads library manually, that's why we have this unit. (Michael Van Canneyt)
Mantis conversion info:
- Mantis ID: 15890
- OS: Linux
- OS Build: Suse 11.1
- Build: [2009/10/26] for i386
- Platform: x86
- Version: 2.2.4
- Fixed in version: 2.4.2
- Fixed in revision: 15175 (#75b5b6c7)