Set a watch expression in Visual Basic code

Set a watch expression in Visual Basic code

When you suspend execution of Visual Basic code, you can observe the values of watch expressions in the Watch window of the Visual Basic Editor. You can also perform an instant watch to see the value of an expression that hasn't been specified as a watch expression.

What do you want to do?

Add a watch expression to the Watch window of the Visual Basic Editor

Perform an instant watch