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

Add debugger data breakpoints #1291

Open
TheWizier opened this issue May 12, 2023 · 4 comments
Open

Add debugger data breakpoints #1291

TheWizier opened this issue May 12, 2023 · 4 comments

Comments

@TheWizier
Copy link

I would like to suggest adding the functionality to add breakpoints for value changes on variables as is available in the vscode c++ debugger (Break on Value Change)

Functionality would be: right click on variable in inspector, choose option Break on Value Change. Then when the value is changed by the program the debugger pauses.

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python May 15, 2023
@apholden-fds
Copy link

This feature would be very helpful for my team. Is there anything we can do to expedite it?

@judej judej assigned debonte and unassigned debonte Oct 14, 2024
@elfrocampeador
Copy link

This feature would make debugging complex systems dramatically easier, and is as far as I know pretty common. I'm very interested to see this added.

@apholden-fds
Copy link

@elfrocampeador and I just found PR 91052 on the CPython repo. Might that facilitate a solution to this issue?

@rchiodo
Copy link
Contributor

rchiodo commented Jan 6, 2025

Thanks @apholden-fds , I think PyDict_AddWatcher might make this possible. It looks like it's native code though, so there'd have to be some communication between debugpy and native code loaded to do the watching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants