Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It's great to be smart 'cause then you know stuff.


devel / comp.lang.python / Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]

SubjectAuthor
o Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]inhahe

1
Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: inh...@gmail.com (inhahe)
Newsgroups: comp.lang.python
Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]
Date: Sun, 6 Jun 2021 13:00:15 -0400
Lines: 31
Message-ID: <mailman.532.1622998827.3087.python-list@python.org>
References: <000001d75578$f4ced0b0$de6c7210$@earthlink.net>
<CAPeSgWpdFOordaj7Lh9tWBcEFm4Ryw=QuR_7KgMsKpxFtuusJA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de eUhxUMR/EZvIJexXLWP22AP3+4ejoRQkhn2TN8yTV1pg==
Return-Path: <inhahe@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=i98+RS7c;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:python': 0.06;
'debug': 0.07; 'debugging': 0.07; 'sun,': 0.07; 'url:mailman':
0.09; '(python': 0.09; 'forced': 0.09; 'module.': 0.09; 'url-
ip:151.101.0.223/32': 0.09; 'url-ip:151.101.128.223/32': 0.09;
'url-ip:151.101.192.223/32': 0.09; 'url-ip:151.101.64.223/32':
0.09; 'debugger': 0.16; 'irc': 0.16; 'mentioned,': 0.16;
'provide.': 0.16; 'reminded': 0.16; 'script.': 0.16; 'slow': 0.16;
'subject:debug': 0.16; 'thread.': 0.16; 'url:project': 0.16;
'url:pypi': 0.16; 'windows.': 0.16; 'wrote:': 0.16;
'url:listinfo': 0.16; 'values': 0.16; 'python': 0.16; 'figure':
0.18; 'uses': 0.19; 'way.': 0.20; 'url-ip:188.166.95.178/32':
0.20; 'url-ip:188.166.95/24': 0.20; 'subject:How': 0.22; "i've":
0.22; 'url-ip:188.166/16': 0.23; 'anyone': 0.23; 'to:addr:python-
list': 0.23; 'seems': 0.26; 'tried': 0.26; 'module': 0.28;
'output': 0.28; 'url-ip:188/8': 0.29; 'takes': 0.31; 'but': 0.31;
'script': 0.32; 'message-id:@mail.gmail.com': 0.33; 'program':
0.33; 'using': 0.33; 'header:In-Reply-To:1': 0.33;
'received:google.com': 0.34; 'year': 0.35; 'flow': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85.208': 0.36;
'errors': 0.37; 'received:209.85': 0.38; 'received:209': 0.38;
'use': 0.38; 'does': 0.38; 'someone': 0.39; 'necessary': 0.40;
'could': 0.40; 'skip:w 10': 0.61; 'here': 0.62; 'url-
ip:151.101.0/24': 0.63; 'url-ip:151.101.128/24': 0.63; 'url-
ip:151.101.192/24': 0.63; 'url-ip:151.101.64/24': 0.63; 'url:q':
0.66; 'critical': 0.71; 'subject:]': 0.71; 'subject:skip:w 10':
0.77; '2021': 0.84; 'don': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=JDLm2HzOIQTEbgw7Ktqinw4j7gz/7t9XiYzPRez5WRM=;
b=i98+RS7cwR4KouKS6srQtTk6jOj8Gk7OJZX8Do3Zc2icM2+DexbsDzGmsEJGZF12MN
SDW+9AdLyH6lFp9jLrykPh94nlnKHbeCyfTzVQu2sclI0lVFVDBTRob9s8rRb4YKvI4W
q4mKJKb1kC5tGWLjkU3GPwJrGZvOVD1NVdIiMCaA97wOkO9sC3RR1fCk7KrEt3UuFfdy
nvAaXw+17Bwyi/Rdh3TQfJpDv8Qv/vTHuyjKALZZBLPLyNap/5lHWQhtQ5t+7LFg2pCl
axFyADfa0EzHkPmVwA7sOsLq19v8fTXGvgPA33FWfmRa3d8Yqv6LogcTw8LTqvmf2tT6
HxAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=JDLm2HzOIQTEbgw7Ktqinw4j7gz/7t9XiYzPRez5WRM=;
b=XXmuwrC1D1q5hpk3TnqdUFBW8J/idjaExpVowzgRXiKe/B6OQ3dmjLL6o8ejDPJnea
WUmHsjQWIaaSeinHZabvAnoxaAfMyFXXBa+gEmIUvt7+gBEPlV0OkNFeFRHHkZzKGtka
eXLrTnwxYk+KoBdz/9iinlInS4Vg7EB1TrHPVAW01K4fG7F3+/CxWFUIC298SZXjjJ5J
jx2n/LS7OTOplF+Gsde0GKibed38qDx5ML9FktpMp1pln9qk0LN1I68003MiYGiGKS0x
QxMUCygPTMDbfpA7qFWlaEOxnlcAQ9+MopJ6YfrEnjWVNEVE46XzOEnNo3VF05lB0DF4
2dxQ==
X-Gm-Message-State: AOAM531fFdseriN7woCqE2dfkTI+a6o4XWvC6s48UxNgLW19qRjzp0NY
q4gTjqr702HT5UJCQNiMvZ7rHYMJg2g8wRoGIVRnbO4luhFBSA==
X-Google-Smtp-Source: ABdhPJy1on1hOOkFQWV+KoW97ORbGpGa9Y7aSECve5VhARp64xrUNSBAlZpYnFE9bUhLiKKvIS2WeV1fNdPNsLDiCdw=
X-Received: by 2002:aa7:c1da:: with SMTP id d26mr15922393edp.92.1622998826015;
Sun, 06 Jun 2021 10:00:26 -0700 (PDT)
In-Reply-To: <000001d75578$f4ced0b0$de6c7210$@earthlink.net>
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
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: <CAPeSgWpdFOordaj7Lh9tWBcEFm4Ryw=QuR_7KgMsKpxFtuusJA@mail.gmail.com>
X-Mailman-Original-References: <000001d75578$f4ced0b0$de6c7210$@earthlink.net>
 by: inhahe - Sun, 6 Jun 2021 17:00 UTC

On Sun, May 30, 2021 at 1:43 PM <pjfarley3@earthlink.net> wrote:

> I tried winpdb-reborn some time last year on my Win10 system (python 3.8.3
> at that time), but could not figure out how to use it to debug a python
> script that uses the curses module.
>
> Does anyone here know if winpdb-reborn or any other debugger can support
> 2-window debugging for a python script that uses the curses module? It
> seems to me that a 2-window debugging session is necessary for a python
> script that uses the curses module because using curses takes over the
> screen from which the script is started, so debugging output and script
> output need to be in separate windows.
>
> I've been forced to use a logger to trace critical values and program flow
> for errors in such a script. It works, but it is annoyingly slow to debug
> that way.
>
> TIA for any advice or RTFM you can provide.
>
> Peter
> --
>
> --
> https://mail.python.org/mailman/listinfo/python-list

I don 't know if this solution was mentioned, but someone in IRC just said
this is especially useful for debugging curses, and it reminded me of this
thread.

https://pypi.org/project/q/

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor