Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Full-screen console debugger for Python

License

NotificationsYou must be signed in to change notification settings

inducer/pudb

Repository files navigation

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

    doc/images/pudb-screenshot-light.png
  • Dark theme

    doc/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.:

git clone https://github.com/inducer/pudb.git

You may alsobrowse the code online.


[8]ページ先頭

©2009-2025 Movatter.jp