Can anyone tell me why j never shows up in my locals window? 32 is
printed to console so I know the assignment is working. I was under the
impression that I could see everything as it happens by setting a
breakpoint then F11 on through the code. Kind of disturbing that j never
shows up, (regardless of where I set my breakpoint) as it makes me
wonder what else I'm not seeing. Is there a 'show everything' debugger
option or something I'm missing? BTW, I'm using the 'Express' version of
Visual Studio.
public class Tester
{
* static int j = 32;
static void Main()
* {
Console.WriteLi ne(j);
Time t1 = new Time( currentTime );
t1.DisplayCurre ntTime();
Time t2 = new Time( 2007, 9, 18, 11, 45 );
t2.DisplayCurre ntTime();
Time t3 = new Time();
t3.DisplayCurre ntTime();
}
}
//* = breakpoints
Thanks in advance,
Jack
printed to console so I know the assignment is working. I was under the
impression that I could see everything as it happens by setting a
breakpoint then F11 on through the code. Kind of disturbing that j never
shows up, (regardless of where I set my breakpoint) as it makes me
wonder what else I'm not seeing. Is there a 'show everything' debugger
option or something I'm missing? BTW, I'm using the 'Express' version of
Visual Studio.
public class Tester
{
* static int j = 32;
static void Main()
* {
Console.WriteLi ne(j);
Time t1 = new Time( currentTime );
t1.DisplayCurre ntTime();
Time t2 = new Time( 2007, 9, 18, 11, 45 );
t2.DisplayCurre ntTime();
Time t3 = new Time();
t3.DisplayCurre ntTime();
}
}
//* = breakpoints
Thanks in advance,
Jack
Comment