inducer / inducer/pudb

add pdb style 'commands [bpnumber]' to break point

Open
#218 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

One of the most useful features of a source debugger is ability to execute debugger commands as part of the break point processing. This is implemented as part of the pdb debugger with 'commands [bpnumber]' command. This can be used to print an expression with pp and then issue 'continue'. This works as the alternative to planting print statements directly in the code.

In pdb we issue 'commands 1;; pp spam;; continue;; end' to bind these commands to break point 1. Please consider adding it to the break point options alongside 'Condition'.

Now if all that could be saved in the ~/.pdbrc style file so it can be reused between runs it would be wonderful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.