varoable values while stepping through/ debugging / Troubleshooting ?

  • Thread starter Thread starter webmaster
  • Start date Start date
W

webmaster

Dumb Noob question for sure.

I've looked for the answer in two intro books and a cbt, and maybe I'm
just missing it.

I see when I do an F5 to debug and run my code ( a simple console
application for my example), that several windows pop-up.. one of them
reads "auto".

How can display variables and their "current" values while I step
through my program? Do I use F11 to step through the program?

Any good refrences for vs.net 2.0 C# debugging?

Thanks.
 
Microsoft has produced a set of books that are GREAT for beginners (not as
good at producing stuff for intermediate/advanced, but definitely getting
better), and they are the Step by Step books. And yes, they DO have one for
C# 2005. It will get you through lot of stuff, including debugging.

As for your current question, the Auto window is a Locals window "light". I
hate that window and make it disappear. If you dock your "locals" window,
all of the variables that are in scope at a given time will be visible, and
when they change they change to a red font.

You can also set up variables that you want to monitor in the "Watch" window.

HTH
WhiteWizard
aka Gandalf
MCSD.NET, MCAD, MCT
 
Back
Top