Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40648

Detecting the end of the program using bdb

From Alexandre Zani <alexandre.zani@gmail.com>
Date 2013-03-06 08:59 -0800
Subject Detecting the end of the program using bdb
Newsgroups comp.lang.python
Message-ID <mailman.2952.1362589190.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Detecting the end of the program using bdb Alexandre Zani <alexandre.zani@gmail.com> - 2013-03-06 08:59 -0800

csiph-web