View Single Post
  #4 (permalink)  
Old 07-04-2006, 09:26 AM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Rep Power: 11
brackett is on a distinguished road
Default

Quote:
Originally Posted by RobSoftware
I'm not sure what you mean brackett - how do I add a watch in VS?
I assumed that Void was interested in knowing the value while debugging. In that case, in the VS debugger you can (a) use the immediate window and type "?variableName" which will print the value, (b) hover over the declaration and a tooltip will show you the value, or (c) add to the QuickWatch window by just typing the name in.

Of course, a Debug.WriteLine like you have will work as well.
Reply With Quote