Reputation: 4439
Is there a way to save the variable names in watches? Every time I debug, the list goes empty and I have to put in the same variables.
Upvotes: 1
Views: 495
Reputation: 6061
When you run the Debug script, there is Watches button.
Reading from a documentation about Watches:
While the Evaluate Expression command on the context menu of the Variables pane enables you to see one expression at a time, the Watches pane shows multiple expressions that persist from one debug session to another, until you remove them.
To add expression to persist from one session to another, simply click + sign and type the name of variable. Then, when you debug again, you will see it again being evaluated until you remove it (using - sign).
Upvotes: 1