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.1.tar.gz
(11.8 kB
view details)
File details
Details for the file pudb-0.90.1.tar.gz
.
File metadata
- Download URL: pudb-0.90.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f1cf3a9886313824d2120901057cd5a21f276a7074623199b5bf75142f4d536 |
|
MD5 | 4a75ed8eda9bf0d2bbec764c7a8ed5df |
|
BLAKE2b-256 | 3046dc963db318638f2e4cddc8a0143b2e5bd45ed2967d35e65bb104ca62cf81 |