Detecting the end of the program using bdb

A

Alexandre Zani

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
 

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,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top