Detecting the end of the program using bdb

Alexandre Zani alexandre.zani at gmail.com
Wed Mar 6 11:59:19 EST 2013


Hello all,

I am attempting to write a remote debugger using bdb. One problem I am
running into is that if I call self.set_next when on the last line of my
program, I see this line printed:

Exception AttributeError: "'NoneType' object has no attribute 'path'" in
<function _remove at 0x7f97639b4668> ignored

But I don't see any way of detecting that the program I am debugging has
now completed.

More generally, I am not sure how to use bdb (or some alternative way) to
detect that the program has finished executing.

Any help would be appreciated.

Alexandre Zani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130306/107ba40f/attachment.html>


More information about the Python-list mailing list