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


Groups > comp.lang.python > #40648 > unrolled thread

Detecting the end of the program using bdb

Started byAlexandre Zani <alexandre.zani@gmail.com>
First post2013-03-06 08:59 -0800
Last post2013-03-06 08:59 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#40648 — Detecting the end of the program using bdb

FromAlexandre Zani <alexandre.zani@gmail.com>
Date2013-03-06 08:59 -0800
SubjectDetecting the end of the program using bdb
Message-ID<mailman.2952.1362589190.2939.python-list@python.org>

[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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web