Oct-14-2020, 04:53 PM
Hi! I am new here, I hope this is the place where this kind of questions should be posted.
I have googled a lot and always I find the same answer: Use winpdb... but I have not found a way to do what I want. I tell you what is the problem and what I have tried first.
I am running a python program into a docker container, so I use web-pdb to debug the program inserting breakpoint() in a file... because I use PYTHONBREAKPOINT = web_pdb.set_trace. So, I can debug the program until I send 'c', then the debugger is freeze and I can not do anything. I think it is because the breakpoint() is inside a class that inherit from threading.Thread.
And that is my problem. I hope you can help me
I want to include breakpoint() anywhere and get the control to debugger in that point.
Any idea?
Thank you in advance!
I have googled a lot and always I find the same answer: Use winpdb... but I have not found a way to do what I want. I tell you what is the problem and what I have tried first.
I am running a python program into a docker container, so I use web-pdb to debug the program inserting breakpoint() in a file... because I use PYTHONBREAKPOINT = web_pdb.set_trace. So, I can debug the program until I send 'c', then the debugger is freeze and I can not do anything. I think it is because the breakpoint() is inside a class that inherit from threading.Thread.
And that is my problem. I hope you can help me

I want to include breakpoint() anywhere and get the control to debugger in that point.
Any idea?
Thank you in advance!