Watch expressions should stay after restart
If you continue to the bottom of the script and restart, any watch expressions that you setup are deleted.
:+1:
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!
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.
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.
Take a look at how breakpoints are saved. We would probably want to do something similar.
There was the PR #146 I submitted awhile ago. You can take code from it.
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!