Change the value in debugging mode (watch window)
How to Change the value in debugging mode (watch window)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kiran kPosted Apr 18, 2015, 7:40 AM
Ameer BashaPosted Jan 20, 2015, 5:45 AM
Rahul SinghPosted Jan 20, 2015, 5:44 AM
Watch window is just for viewing the values and to the best of my knowledge it can't be edited in Watch window. You can anyways change it while debugging by following the below steps:-
1. The debugger must be in break mode.
2. If the variable is an array or an object, a tree control appears next to the name in the Name box. In the Name column, expand the variable, if necessary, to find the element whose value that you want to edit.
3. In the row you want to change, double-click the Value column.
4. Type the new value.
5. Press ENTER.