Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on 

Visual Studio 2008 Immediate Window

Does the Immediate Window support FOR loops?

For example if I wanted to ouput all the values of an object at a certain breakpoint.
C#

Avatar of undefined
Last Comment
RishadanPort
Avatar of RishadanPort
RishadanPort

Yes, immediate window works anywhere as long as you can access the object
Avatar of Tom Knowlton
Tom Knowlton
Flag of United States of America image

ASKER

Sorry - I did not state this clearly

What I meant was...can you write a FOR loop INSIDE of an Immediate Window?
Avatar of RishadanPort
RishadanPort

I don't believe you can write for loops inside an immediate window
Avatar of RishadanPort
RishadanPort

What are you trying to loop thru? Try using the watch window instead maybe?
ASKER CERTIFIED SOLUTION
Avatar of RishadanPort
RishadanPort

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
C#
C#

C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).

98K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo