Skip to content

Improve the accuracy of possible breakpoint check in bdb #124552

Closed
@gaogaotiantian

Description

@gaogaotiantian

Feature or enhancement

Proposal:

Currently in bdb, when a new function is entered, bdb checks if it's possible that there's a breakpoint in that function and only enable events in that function if there is. It's a good strategy but the existing check is too loose. It equivalently check if there is a breakpoint in the file that function is defined in.

We have much better tools to determine whether the function has a breakpoint in it now. Without enabling unnecessary events in those functions, pdb would be much faster.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions