Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the accuracy of possible breakpoint check in bdb #124552

Closed
gaogaotiantian opened this issue Sep 25, 2024 · 0 comments
Closed

Improve the accuracy of possible breakpoint check in bdb #124552

gaogaotiantian opened this issue Sep 25, 2024 · 0 comments
Labels
type-feature A feature request or enhancement

Comments

@gaogaotiantian
Copy link
Member

gaogaotiantian commented Sep 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant