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


Groups > comp.lang.python.announce > #792

Python debugger release 0.2.0

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <news@google.com>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'output': 0.04; 'subject:Python': 0.05; 'repository': 0.05; 'formatting': 0.07; 'important,': 0.07; 'pypi': 0.07; 'python': 0.09; 'debugger': 0.09; 'highlighting': 0.09; 'macros': 0.09; 'portion': 0.13; '"set': 0.16; '(via': 0.16; 'debugger.': 0.16; 'eval': 0.16; 'evaluated.': 0.16; 'highlight': 0.16; 'highlighted': 0.16; 'invoking': 0.16; 'rhs': 0.16; 'run.': 0.16; 'written,': 0.17; '(or': 0.18; 'subject:release': 0.22; 'example': 0.23; "i've": 0.23; 'command': 0.24; 'header:User-Agent:1': 0.26; 'common': 0.26; 'plain': 0.27; 'possibly': 0.27; 'set.': 0.27; 'received:209.85.212': 0.28; 'run': 0.28; 'smart': 0.29; 'url:code': 0.29; 'source': 0.29; 'that.': 0.30; 'error': 0.30; 'code': 0.31; 'skip:- 10': 0.32; 'version': 0.34; 'received:google.com': 0.34; 'too.': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'smaller': 0.36; 'turn': 0.36; 'option': 0.37; 'uses': 0.37; 'rather': 0.37; 'received:209': 0.37; 'release': 0.39; 'help': 0.40; 'from:no real name:2**0': 0.60; 'most': 0.61; 'evaluate': 0.62; 'url:p': 0.63; 'more': 0.63; 'pleased': 0.66; 'to:addr:comp-lang-python- announce': 0.70; 'cut': 0.71; 'completion': 0.78; 'to:addr:moderators.isc.org': 0.79; '(yes,': 0.84; 'add:': 0.84
Delivered-To comp-lang-python-announce@moderators.isc.org
X-Received by 10.224.72.199 with SMTP id n7mr23780634qaj.5.1357052941631; Tue, 01 Jan 2013 07:09:01 -0800 (PST)
Newsgroups comp.lang.python.announce
Date Tue, 1 Jan 2013 07:09:01 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=71.183.236.17; posting-account=jKjGDQoAAABKN2iauJtD3DV5oMZpXuQo
User-Agent G2/1.0
MIME-Version 1.0
Subject Python debugger release 0.2.0
From rocky.bernstein@gmail.com
Injection-Date Tue, 01 Jan 2013 15:09:01 +0000
To comp-lang-python-announce@moderators.isc.org
Content-Type text/plain; charset=ISO-8859-1
X-Mailman-Approved-At Tue, 01 Jan 2013 17:46:10 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Message-ID <mailman.1519.1357058771.29569.python-announce-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357058771 news.xs4all.nl 6892 [2001:888:2000:d::a6]:60741
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:792

Show key headers only | View raw


pydbgr is a somewhat large Python debugger modelled on the gdb command set. (Yes, I know this name is really horrible).

I am pleased (or is it relieved?) to release a version of pydbr that has a couple of features I have in other debuggers I've written, namely:

1. Terminal output is now syntax highlighted (via pygments). And other section or error like output uses terminal control too. To turn that off use "set highlight display" or the --no-highlight option when invoking the debugger.

2. Smart  "eval". A plain eval will evaluate the source line of code that is about to be run. If you enter eval? Then the most common expression portion of the source line is evaluated. For example if the source line is
     x = 1
Then eval will just run that. You don't have to cut and paste that source line. And eval? will evaluate just the RHS or 1.

There are a number of other features that the other debuggers have that I would eventually like to add:
  * terminal debugger command completion
  * better formatting using terminal control of help possibly using textile-like syntax
  * syntax coloring disassembly code
  * debugger macros as python code

but since this eval and syntax highlighting were so important, I thought I would rather have more smaller releases than one larger one.

Releases are available on pypi or the code repository http://code.google.com/p/pydbgr/

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Python debugger release 0.2.0 rocky.bernstein@gmail.com - 2013-01-01 07:09 -0800

csiph-web