Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'exception': 0.03; 'attribute': 0.05; 'debugging': 0.05; 'ignored': 0.05; 'debugger': 0.09; 'subject:using': 0.09; 'finished': 0.15; 'alexandre': 0.16; 'subject:Detecting': 0.16; 'subject:program': 0.16; 'detect': 0.17; '(or': 0.18; 'all,': 0.21; 'appreciated.': 0.26; 'message- id:@mail.gmail.com': 0.27; 'attempting': 0.29; 'subject:end': 0.29; 'skip:& 10': 0.29; 'running': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'program,': 0.34; 'received:google.com': 0.34; 'remote': 0.35; 'but': 0.36; 'object': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'more': 0.63; 'detecting': 0.84; 'way)': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=zNWy+tEq2PKvJ+f7gbAZrYH5+Hb+DuJsdGqaTc7vl84=; b=C2/+/xsB6Oh+14S1bQE+7qFmV272+oH6dlJG8Q8Iooh/zFHVwCnLkgyAenfNc27Zi6 VT9a+gP8/SqMmMZXx6yq2bu1RkqHPIQGpJ6JsfSt4eKwdO/Z64ZoRb2zAsfSBrDIElJ4 4LAePBxYV7oWoKSMukUN/SmzilCoSRfgVKIjH1iqosZpVjxs5xJC1xSa+xTTgpNWjT1x lq0pu8K16kRLUzhHka1qXvOcsS3TVQLzK184yCDiHnNRiG3yzIX7s3fvmwtQRi/TJrwU Ja2s8SyH7ogws3LFoZp6QWjthWwOkimdP/O4P/C/EEZSdcV7S+78FyML60fzXjv51ztZ otMA== X-Received: by 10.50.222.195 with SMTP id qo3mr11291054igc.14.1362589179939; Wed, 06 Mar 2013 08:59:39 -0800 (PST) MIME-Version: 1.0 From: Alexandre Zani Date: Wed, 6 Mar 2013 08:59:19 -0800 Subject: Detecting the end of the program using bdb To: python-list@python.org Content-Type: multipart/alternative; boundary=14dae934088d0bcbf904d7448437 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362589190 news.xs4all.nl 6922 [2001:888:2000:d::a6]:58444 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40648 --14dae934088d0bcbf904d7448437 Content-Type: text/plain; charset=ISO-8859-1 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 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 --14dae934088d0bcbf904d7448437 Content-Type: text/html; charset=ISO-8859-1
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
--14dae934088d0bcbf904d7448437--