Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Memory fault - where am I?


devel / comp.lang.python / Re: Neither pdb or print() displays the bug

SubjectAuthor
o Re: Neither pdb or print() displays the bugDennis Lee Bieber

1
Re: Neither pdb or print() displays the bug

<mailman.495.1622591232.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13521&group=comp.lang.python#13521

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: wlfr...@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.python
Subject: Re: Neither pdb or print() displays the bug
Date: Tue, 01 Jun 2021 19:18:09 -0400
Organization: IISS Elusive Unicorn
Lines: 28
Message-ID: <mailman.495.1622591232.3087.python-list@python.org>
References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<a7bdbg137nh4hngprpl0ommfq9v2mdlhsd@4ax.com>
<alpine.LNX.2.20.2106011600090.25401@salmo.appl-ecosys.com>
<qufdbgplr6ncreffi7bg2j90u8mafq5kf1@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de lvsF4Cz1OqQ3+QtmGVndawUxtbRCsNfhbXOcpvp5S/uQ==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:ciao.gmane.io':
0.09; 'received:gmane.io': 0.09; 'received:list': 0.09;
'subject:bug': 0.09; 'import': 0.14; 'instance': 0.16; 'means.':
0.16; 'message-id:@4ax.com': 0.16; 'received:116.202': 0.16;
'received:116.202.254': 0.16; 'received:116.202.254.214': 0.16;
'shepard': 0.16; 'subject:() ': 0.16; 'wrote:': 0.16; 'python':
0.16; 'tue,': 0.18; 'to:addr:python-list': 0.23; 'code': 0.24;
'probably': 0.24; 'jun': 0.27; 'suspect': 0.27; "i'll": 0.28;
'local': 0.29; 'header:User-Agent:1': 0.31;
'header:Organization:1': 0.31; 'stuff': 0.31; 'but': 0.31;
'window': 0.32; 'functions': 0.34; "that's": 0.37; 'really': 0.37;
'going': 0.38; 'completely': 0.60; 'your': 0.64; 'received:116':
0.71; '2021': 0.84; 'statement.': 0.84; 'story;': 0.84; 'url-
ip:76/8': 0.84
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: ForteAgent/8.00.32.1272
X-No-Archive: YES
X-Mailman-Approved-At: Tue, 01 Jun 2021 19:47:10 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <qufdbgplr6ncreffi7bg2j90u8mafq5kf1@4ax.com>
X-Mailman-Original-References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<a7bdbg137nh4hngprpl0ommfq9v2mdlhsd@4ax.com>
<alpine.LNX.2.20.2106011600090.25401@salmo.appl-ecosys.com>
 by: Dennis Lee Bieber - Tue, 1 Jun 2021 23:18 UTC

On Tue, 1 Jun 2021 16:01:24 -0700 (PDT), Rich Shepard
<rshepard@appl-ecosys.com> declaimed the following:

>On Tue, 1 Jun 2021, Dennis Lee Bieber wrote:
>
>> I suspect you really should be stepping INTO the calls, not just
>> invoking the functions completely and going to the next LOCAL statement.
>
>> $ /development/business_tracker/activitytypes.py(1)<module>()
>-> import sys
>(Pdb) s
>> $ /development/business_tracker/activitytypes.py(2)<module>()
>-> import logging
>(Pdb) s
>--Call--
>> <frozen importlib._bootstrap>(978)_find_and_load()
>(Pdb) s
>
>Now I'll go learn what this means.

Core Python stuff can probably be "n" -- but your Window instance is
another story; that's the code you want to debug, so "s" to get into it.

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor