Bug in Debug?

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

Guest

When I am debugging, and viewing the Watch window, there are two variables
that keep displaying with a message that the name [variable name] is not
declared. There were indeed two names with the names the Watch window is
complaining about, however, they are clearly commented out.

I did a Find and all VS could come up with were the commented-out names. I
shut down VS in case it was some sort of memory thing, but that didn't get
rid of it.

Anyone know what's causing this?
 
Hi Sandy:

Those variables were put into the watch window once - then VS.NET
remembers the var names between debugging sessions. You just need to
highlight and delete them from the watch window to get rid of the
message.

HTH,
 
Thanks, Scott!

Scott Allen said:
Hi Sandy:

Those variables were put into the watch window once - then VS.NET
remembers the var names between debugging sessions. You just need to
highlight and delete them from the watch window to get rid of the
message.

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

When I am debugging, and viewing the Watch window, there are two variables
that keep displaying with a message that the name [variable name] is not
declared. There were indeed two names with the names the Watch window is
complaining about, however, they are clearly commented out.

I did a Find and all VS could come up with were the commented-out names. I
shut down VS in case it was some sort of memory thing, but that didn't get
rid of it.

Anyone know what's causing this?
 
Back
Top