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

Watch expressions should stay after restart #64

Open
asmeurer opened this issue Mar 12, 2013 · 7 comments
Open

Watch expressions should stay after restart #64

asmeurer opened this issue Mar 12, 2013 · 7 comments

Comments

@asmeurer
Copy link
Collaborator

If you continue to the bottom of the script and restart, any watch expressions that you setup are deleted.

@inducer
Copy link
Owner

inducer commented Mar 13, 2013

👍

@m27315
Copy link

m27315 commented May 27, 2014

It would be helpful if the watch expressions could be saved across sessions too. After I make changes to my code, I shutdown pudb and restart it to pick up code changes; however, I have to enter all of my watch-expressions again, which is very tedious, since I must do this for each frame. ... Thanks! ... BTW, this package is extremely helpful to me! ... Thanks for the great work!

@asmeurer
Copy link
Collaborator Author

Unless the code is architectured weird (which is another way of saying that I haven't looked at it), it is probably easy to fix.

@raphCode
Copy link
Contributor

raphCode commented Apr 5, 2023

I am also interested in this feature.
Can someone experienced give pointers what needs to be done to implement this? I might give it a shot.

@asmeurer
Copy link
Collaborator Author

asmeurer commented Apr 5, 2023

Take a look at how breakpoints are saved. We would probably want to do something similar.

@lechat
Copy link
Contributor

lechat commented Apr 10, 2023

There was the PR #146 I submitted awhile ago. You can take code from it.

@mvanderkamp
Copy link
Contributor

I'm still hoping to get #525 merged through at some point too, if saving watches could work alongside that idea, that would be sublime!

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

6 participants