how to debug a thread execute method lazarus / 12-Debugger ---------------------------------------------------------------------- mariomoretti · 2014-01-23 21:02 hi, i've put a breakpoint in the execute method. Program stops but the ide shows a line that is not the correct one! I've rebuilded with clean all and cleaned the project directory : no change. The same with laz 1.0.10 and with 1.3 after upgrading to last revision. Someone may help me ? Thanks Regards , mario ---------------------------------------------------------------------- Martin_fr · 2014-01-23 22:19 Have you tried to open the debugger thread window, and check the selected thread? Maybe the IDE displays the wrong thread. Select and use "Goto" from toolbar. ---------------------------------------------------------------------- mariomoretti · 2014-01-24 09:02 Hi Martin, this is my first lazarus multithread project : thanks for info about thread window... After breakpoint stop,  I found only one thread : this is because the program stops even if the thread isn't already created.  :DThe solution : i've declared the execute method without override clause !!!! Now works well. Thank you again Mario