Is it possible to change the value of a variable during execution time?

In VS if you hover your mouse over this variable, you’ll notice it displays it’s value in a tooltip. You can click into this tooltip and edit it manually – though you need to provide a value of the correct format for the data type. Strings also need quotes “”.

There is likely a way to do this via some of the other debugging windows, but I don’t know of any. I’ll leave those answers to someone else.

Leave a Comment