Installing¶

Install PuDB using the command:

pip install pudb

If you are using Python 2.5, PuDB version 2013.5.1 is the last version to support that version of Python. urwid 1.1.1 works with Python 2.5, newer versions do not.

FAQ¶

Q: I navigated to the Variables/Stack/Breakpoints view. How do I get back to the source view?

A: Press your left arrow key.

Q: Where are breakpoints, PuDB settings file or shell history stored?

A: All PuDB information is stored in a location specified by the XDG Base Directory Specification. Usually, it is ~/.config/pudb. Breakpoints are stored in a file called saved-breakpoints. Also in this location are the shell history from the ! shell (shell-history) and the PuDB settings (pudb.cfg).

Q: I killed PuDB and now my terminal is broken. How do I fix it?

A: Type the reset command (even if you cannot see what you are typing, it should work). If this happens on a regular basis, please report it as a bug.

License and Dependencies¶

PuDB is distributed under the MIT license. It relies on the following excellent pieces of software:

  • Ian Ward’s urwid console UI library

  • Georg Brandl’s pygments syntax highlighter

PuDB is licensed to you under the MIT/X Consortium license:

Copyright (c) 2009-17 Andreas Kloeckner and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.