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.tar.gz
(11.6 kB
view details)
File details
Details for the file pudb-0.90.tar.gz
.
File metadata
- Download URL: pudb-0.90.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4794c2eba0048dadb3598f935d821cc289f423e6b4bc0d1df484ca6a2c8c2697 |
|
MD5 | 6cec3cf063896ddd5d4e76803651949e |
|
BLAKE2b-256 | ffdd2e42dff7f815a9d5178b2f82cd3df9b2aa914f079158f17887a64ab99ecf |