473,383 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Bug in Debug?

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?
--
Sandy
Nov 19 '05 #1
2 990
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/

On Thu, 10 Feb 2005 17:23:02 -0800, "Sandy"
<Sa***@discussions.microsoft.com> wrote:
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?


Nov 19 '05 #2
Thanks, Scott!

"Scott Allen" wrote:
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/

On Thu, 10 Feb 2005 17:23:02 -0800, "Sandy"
<Sa***@discussions.microsoft.com> wrote:
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?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
4
by: emma middlebrook | last post by:
I have a question regarding asserting ... here's some code: string GetAssertMessage() { ... prepare a message string and return it... } void SomeMethod() { ...
7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
6
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to...
6
by: pauldepstein | last post by:
To help me debug, I am writing a lot of information into a stream which I call debug. However, because of the large amount of time taken to print this information, I only want this printed while...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
0
by: BA | last post by:
I posted on this once before and could not get a solution, I am hoping someone can help. I have a very strange code debug behavior that I cannot make heads or tails of: I have c# code being...
1
by: gfergo | last post by:
Good Morning, I seem to be having a problem. I thought I could display detailed debugging information (including file name and line number) on a page using two different methods: 1.)...
3
by: rorni | last post by:
Hi, I'm porting code from Windows to HP-UX 11, compiling with g++. I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.