inducer / inducer/pudb

Allow to set breakpoints on function definition

Open
#24 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

If you set a breakpoint on a `def` line, it only breaks there when the function is defined. But this is confusing, because the debugger goes to that line every time you step into that function. So it would be nice if a break point on a def line also caused the debugger to break whenever that function is called.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by tracing how breakpoints on def lines are recorded and how stepping into a function is handled, then inspect existing debugger tests. Done means a breakpoint set on a function definition stops when that function is called, rather than only when the definition executes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.