470,591 Members | 2,087 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

How to stop winpdb programatically


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
Apr 18 '06 #1
1 1347
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

Apr 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by UJ | last post: by
4 posts views Thread by vickaiser1 | last post: by
1 post views Thread by MakaMaka | last post: by
reply views Thread by eastier | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.