Thread(safe) debugging problem
Posted: Sun Jan 30, 2011 6:47 am
I'm not sure if this belongs here or on the OS X pages. As I am one of many who have recently bought a MAC, that is without never have reflecting upon such a decision a few years ago, I have started to re-build my projects on the MAC.
When I call the CallDebugger or set a breakpoint inside a thread I am not able to step my code, once I have chosen continue or any of the step functions (step, step <n>n, etc) the debugger seemingly halts. I am only able to do one single step.
Example, if I put a breakpoint on Debug "Thread: Line 1" , I will see the debug output Thread: Line 1 if I step or chose continue. However I will not see Thread: Line 2. It is not possible to chose another step (grayed out in the debugger). If I put the breakpoint on Debug "Thread: Line 2" I will see both outputs after a step or continue, but I will not see anything beyond that.
Is this an known IDE/debugger issue?
Do I have to do anything else than the stated information at IDE debugger manual (the very bottom of the text) here
http://purebasic.com/documentation/refe ... ugger.html
When I call the CallDebugger or set a breakpoint inside a thread I am not able to step my code, once I have chosen continue or any of the step functions (step, step <n>n, etc) the debugger seemingly halts. I am only able to do one single step.
Example, if I put a breakpoint on Debug "Thread: Line 1" , I will see the debug output Thread: Line 1 if I step or chose continue. However I will not see Thread: Line 2. It is not possible to chose another step (grayed out in the debugger). If I put the breakpoint on Debug "Thread: Line 2" I will see both outputs after a step or continue, but I will not see anything beyond that.
Code: Select all
Debug "Thread: Line 1"
Debug "Thread: Line 2"
Do I have to do anything else than the stated information at IDE debugger manual (the very bottom of the text) here
http://purebasic.com/documentation/refe ... ugger.html