Debbuging in VS.NET

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
 
C

Chris van den Heuvel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top