Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

<<<<< EVACUATION ROUTE <<<<<


devel / comp.lang.python / Re: Applying winpdb_reborn

SubjectAuthor
o Re: Applying winpdb_rebornAlan Gauld

1
Re: Applying winpdb_reborn

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: alan.ga...@yahoo.co.uk (Alan Gauld)
Newsgroups: comp.lang.python
Subject: Re: Applying winpdb_reborn
Date: Sun, 30 May 2021 13:57:33 +0100
Lines: 25
Message-ID: <mailman.428.1622401032.3087.python-list@python.org>
References: <alpine.LNX.2.20.2105290945570.25842@salmo.appl-ecosys.com>
<YLLINtUcjvqf4rdN@cskk.homeip.net> <s9023u$10dh$1@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de c5qiOSBxv40pp+p3r6mlJgtb1b6A+pkkduPZBrBLR8pQ==
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.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url-ip:65/8': 0.05;
'debugging': 0.07; 'breaks': 0.09; 'message-id:@ciao.gmane.io':
0.09; 'received:ciao.gmane.io': 0.09; 'received:gmane.io': 0.09;
'received:list': 0.09; 'breakpoint': 0.16; 'cameron': 0.16;
'conditional': 0.16; 'errors.': 0.16; 'flickr': 0.16;
'from:addr:alan.gauld': 0.16; 'from:name:alan gauld': 0.16;
'inspect': 0.16; 'photo-blog': 0.16; 'recall': 0.16;
'received:116.202': 0.16; 'received:116.202.254': 0.16;
'received:116.202.254.214': 0.16; 'simpson': 0.16; 'url-
ip:79.170.44.132/32': 0.16; 'url-ip:79.170.44/24': 0.16; 'url-
ip:79.170/16': 0.16; 'url-ip:79/8': 0.16; 'url:alan-g': 0.16;
'url:alan_gauld': 0.16; 'url:alangauldphotos': 0.16; 'values,':
0.16; 'wrote:': 0.16; 'values': 0.16; 'url:amazon': 0.20; "i'd":
0.23; 'to:addr:python-list': 0.23; 'single': 0.28; 'header:User-
Agent:1': 0.31; 'but': 0.31; "i'm": 0.32; 'program': 0.33; 'header
:In-Reply-To:1': 0.33; 'running': 0.35; 'at:': 0.37; 'display':
0.37; "that's": 0.37; 'author': 0.38; 'those': 0.38; 'pretty':
0.40; 'follow': 0.63; 'site': 0.69; 'url:author': 0.69;
'received:116': 0.71; 'watch': 0.77; 'subject:skip:w 10': 0.77;
'points': 0.84; 'trip,': 0.91
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
In-Reply-To: <YLLINtUcjvqf4rdN@cskk.homeip.net>
Content-Language: en-GB
X-Mailman-Approved-At: Sun, 30 May 2021 14:57:11 -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: <s9023u$10dh$1@ciao.gmane.io>
X-Mailman-Original-References: <alpine.LNX.2.20.2105290945570.25842@salmo.appl-ecosys.com>
<YLLINtUcjvqf4rdN@cskk.homeip.net>
 by: Alan Gauld - Sun, 30 May 2021 12:57 UTC

On 30/05/2021 00:03, Cameron Simpson wrote:

> I'd imagine debugging is much like it is in C. Wait for the breakpoint
> to trip, then inspect the programme variables.

That's a pretty crude form of debugging (although much better than just
single stepping from the beginning!).

Adding conditional breakpoints that stop only when variables are at
certain values, tracepoints that print out a set of values every time a
line is executed and watchpoints that keep a running display of a set of
variables all allow much faster location of errors.

I don't recall how many of those pdb supports but I'm pretty
sure watch points and conditional breaks are there.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor