Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
pudb 2024.1.3 documentation
pudb 2024.1.3 documentation

Contents:

Back to top

Welcome to pudb’s documentation!

PuDB: a console-based visual debugger for Python

Gitlab Build StatusGithub Build StatusPython Package Index Release Page

Its goal is to provide all the niceties of modern GUI-based debuggers in amore lightweight and keyboard-friendly package. PuDB allows you to debug coderight where you write and test it–in a terminal.

Here are some screenshots:

  • Light theme

    _images/pudb-screenshot-light.png
  • Dark theme

    _images/pudb-screenshot-dark.png

You may watch screencasts too:

Features

  • Syntax-highlighted source, the stack, breakpoints and variables are allvisible at once and continuously updated. This helps you be more aware ofwhat’s going on in your program. Variable displays can be expanded, collapsedand have various customization options.

  • Pre-bundled themes, including dark themes via “Ctrl-P”. Could set a custom theme also.

  • Simple, keyboard-based navigation using single keystrokes makes debuggingquick and easy. PuDB understands cursor-keys and Vi shortcuts for navigation.Other keys are inspired by the corresponding pdb commands.

  • Use search to find relevant source code, or use “m” to invoke the modulebrowser that shows loaded modules, lets you load new ones and reload existingones.

  • Breakpoints can be set just by pointing at a source line and hitting “b” andthen edited visually in the breakpoints window. Or hit “t” to run to the lineunder the cursor.

  • Drop to a Python shell in the current environment by pressing “!”.Or open a command prompt alongside the source-code via “Ctrl-X”.

  • PuDB places special emphasis on exception handling. A post-mortem mode makesit easy to retrace a crashing program’s last steps.

  • Ability to control the debugger from a separate terminal.

  • IPython integration (seewiki)

  • Should work with Python 3.6 and newer. (Versions 2019.2 and older continueto support Python 2.7.)

Links

PuDB documentation

PuDB also has amailing list thatyou may use to submit patches and requests for help. You can also send a pullrequest to theGitHub repository

Development Version

You may obtain the development version using theGitversion control tool.:

gitclonehttps://github.com/inducer/pudb.git

You may alsobrowse the code online.

Table of Contents

Indices and Tables


[8]
ページ先頭

©2009-2025 Movatter.jp