473,466 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

varoable values while stepping through/ debugging / Troubleshooting ?

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.

Sep 6 '06 #1
1 1261
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
"we*******@1stmiami.com" wrote:
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.

Sep 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: srobinson | last post by:
I am trying to debug stored procedures via VS.NET. I've set up the debugging components and made the necessary configurations (security, DCOM, etc.). I was able to start successfully debugging stored...
5
by: pinaki_m77 | last post by:
Hi, I am trying to debug a C++ program using Microsoft VC++ IDE. The program loads a dynamic link library (dll) and later makes calls to functions inside this dll. I want to step inside the code of...
25
by: David C | last post by:
I posted this question, and from the replies, I get the impression that I worded my posting very poorly, so let me try this again. While debugging and stepping through this foreach loop ...
3
by: Alfonzo Morra | last post by:
Hi, I recently started using VC7.1 (upgraded from VC6). I've noticed that when stepping through code, some of the values of my variables make no sese at all. For instance, I had some code like...
0
by: stand__sure | last post by:
Stepping into a stored procedure used to be fairly straight-forward, but after following the guidance in all 6 or so of the MSDN pages about enabling debugging of stored procedures in SQL Server...
11
by: serge | last post by:
When i debug a trigger is it possible to add a WATCH on the INSERTED or DELETED? I think not, at least I couldn't figure out a way to do so. Does someone have a suggestion on how I can see the...
5
by: scl | last post by:
I have an application with a .Net front end that makes calls into a series of VB6 dll's via COm InterOpt. Although everything works quite well, the main issue that I have is regarding the overall...
12
by: mednyk | last post by:
T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures And there is no other procedure with the same name owned by dbo or any other users. There is no error messages also, it just...
7
by: Lyn | last post by:
Is there a solution to this problem? While stepping through code (F8) it would sometimes be helpful to observe changes occurring on the affected form in the Access window. However, the current...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.