How to stop winpdb programatically

U

Uwe Grauer

How can i stop winpdb at a special point in a file?
I know that there is set_trace() in pdb which stops execution in the
debugger, but how to do this in winpdb?

Thanks for hints,
Uwe
 
N

nir1408

Hello Uwe,

You can use rpdb2.settrace()

But in fact rpdb2 is not meant to be used like that.
the pdb.set_trace() command belongs to the pdb debugging model, of a
single threaded script that starts the debugger on demand. In
rpdb2/winpdb the debugger works all the time and you break (pause) the
script with breakpoints.

Nir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top