Debbuging in VS.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a simple question about debugging in VS.NET and I think you may know
how to do this.

In Visual Studio 6 and earlier, in command window I can debug my code on fly
without any problem. Now, in VS.Net, in the command window, I can check the
value of any properties but cannot call any method.

For example, I have a string variable called tmp and the value is "This is
a test";

string tmp = "This is a test";

In my command window, I can type tmp.Length and it return 14.
Then I try to call a method tmp.ToUpper(), it throws error "ToUpper' does
not exist". Does anybody know to to fix the problem?

Regards,

John
 
Make sure you leave a space between the question mark and your code in the
command window. Without the space you'll get the error. With the space it
will work like a charm.

Chris
 
Back
Top