0

I have got a program where something is odd with the program settings which are edited at runtime. (I do save them, that's not the problem).

To find out about the problem, I want to do the stepwise debugging that VS offers. During that, I'd like to watch the settings as I can watch the variables.

Is that possible? How can I do that?

1
  • Watch Window? At runtime you can right click a variable and add it to the watch window. it will keep track of the variable and show its value so long as it is within the scope of where you are currently debugging. Commented Apr 25, 2013 at 18:10

1 Answer 1

1

Sure, you could use the watch window or the Immediate window:

http://msdn.microsoft.com/en-us/library/aa290869(v=vs.71).aspx

http://msdn.microsoft.com/en-us/library/f177hahy(v=vs.110).aspx

enter image description here

Immediate window executes C# code on the fly, watch windows shows the value of objects or variables. The windows will only be shown during runtime.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.