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 hashes)