Skip to main content

Alternative Python debugger using prompt-toolkit.

Project description

Botfly

An enhanced debugger that uses prompt-toolkit.

Since prompt-toolkit is a cross-platform readline replacement it should work on all platforms.

You can also import the botfly.debugger module in your code and call the post_mortem function, as with pdb.

Some notable features:

  • Colorized UI - stacktrace, prompt, etc.
  • More informative reports, prompt shows current position in stack.
  • Invoke your editor at current point.
  • REPL-like evaluator
  • Enter sub-REPL if desired.
  • Display opcodes.
  • Switch to different stack in context or cause exceptions.
  • Debug co-routines.

Automatic Debugging

Don't like those annoying uncaught exceptions? Just put the following in your code (during development) to automatically enter the debugger in the event of an uncaught exception.

from botfly import debugger

debugger.autodebug()

...

Then if an exception happens that isn't handled you will see the debugger.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for botfly, version 0.8.0
Filename, size File type Python version Upload date Hashes
Filename, size botfly-0.8.0-py3-none-any.whl (80.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size botfly-0.8.0.tar.gz (33.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page