Python Urwid debugger
Project description
PuDB is a visual debugger for Python. It runs in the same terminal
where you run your code. Installing it is as easy as::
easy_install pudb
Here's a screenshot:
.. image:: http://tiker.net/pub/pudb-screenshot.png
Features
--------
Why would you want to use pudb?
* Easy to use!
* Syntax Highlighting
* Offers Better situational awareness than CLI-based `pdb`
* Single keystroke for most commands
* Self-documenting
* Set breakpoints visually
* Easy access to a Python shell
* Almost as lightweight as Python's included debugger, `pdb`.
Getting Started
---------------
To start debugging, simply insert::
from pudb import set_trace; set_trace()
into the piece of code you want to debug, or run the entire script with::
python -m pudb my-script.py
Getting the Development Version
-------------------------------
You may obtain the development version using the `Git <http://git-scm.org/>`_
version control tool.::
git clone http://git.tiker.net/trees/pudb.git
You may also `browse the code <http://git.tiker.net/pudb.git>`_ online.
PuDB relies on the following excellent pieces of software:
* Ian Ward's `urwid <http://excess.org/urwid>`_ console UI library
* Georg Brandl's `pygments <http://pygments.org>`_ syntax highlighter
where you run your code. Installing it is as easy as::
easy_install pudb
Here's a screenshot:
.. image:: http://tiker.net/pub/pudb-screenshot.png
Features
--------
Why would you want to use pudb?
* Easy to use!
* Syntax Highlighting
* Offers Better situational awareness than CLI-based `pdb`
* Single keystroke for most commands
* Self-documenting
* Set breakpoints visually
* Easy access to a Python shell
* Almost as lightweight as Python's included debugger, `pdb`.
Getting Started
---------------
To start debugging, simply insert::
from pudb import set_trace; set_trace()
into the piece of code you want to debug, or run the entire script with::
python -m pudb my-script.py
Getting the Development Version
-------------------------------
You may obtain the development version using the `Git <http://git-scm.org/>`_
version control tool.::
git clone http://git.tiker.net/trees/pudb.git
You may also `browse the code <http://git.tiker.net/pudb.git>`_ online.
PuDB relies on the following excellent pieces of software:
* Ian Ward's `urwid <http://excess.org/urwid>`_ console UI library
* Georg Brandl's `pygments <http://pygments.org>`_ syntax highlighter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pudb-0.90.2.tar.gz
(12.5 kB
view details)
File details
Details for the file pudb-0.90.2.tar.gz
.
File metadata
- Download URL: pudb-0.90.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9424452ee97a7afa8aeb52d78c04f9c65ffe66a933eb5e0f13d46c897fa1fc |
|
MD5 | 98235a15e615f00304cecc3bfa2c9f71 |
|
BLAKE2b-256 | 03c22a7fe7a3624ccd796720e8a729f91c9ed56882d8d5eaeb1cae1996257d50 |