LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pdb3.4

python debugger

TLDR

Debug Python script
$ python3.4 -m pdb [script.py]
copy
Set breakpoint in code
$ import pdb; pdb.set_trace()
copy
Run post-mortem debug
$ python3.4 -m pdb -c continue [script.py]
copy

SYNOPSIS

python3.4 -m pdb [options] script [args]

DESCRIPTION

pdb is the Python debugger. Interactive debugging environment.The tool provides breakpoints and inspection. Part of Python standard library.

PARAMETERS

SCRIPT

Python script to debug.
-c COMMAND
Execute command at start.
Debugger commands:- n - next line- s - step into- c - continue- b - breakpoint- p - print- q - quit

CAVEATS

Version specific (3.4). Same as pdb for other versions. Interactive debugger.

HISTORY

pdb has been part of Python standard library since early versions.

SEE ALSO

python(1), ipdb(1), pudb(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid