473,385 Members | 1,764 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,385 software developers and data experts.

BUG in debugger values.

Hi,

In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?

Would it not be better if this window was also change highlighted?

Enum Flags INCORRECT values displauyed in debug window and intellisense.

If I have multiple bits set on an enum marked as Flags (bitfield) and have
the someBitfield = A | B, the value numeric is correct but the name shown
in the watch window and intellisense is incorrect, it is just showing A and
not A | B, this is misleading and wastes time with partially correct (and
therefore incorrect).
Thanks.
Jul 21 '05 #1
4 1434
Hi,
In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?
Never seen that. On my machine values in the Watch window DO become red when
they change.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"news.microsoft.com" <di********@discussion.microsoft.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Hi,

In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?

Would it not be better if this window was also change highlighted?

Enum Flags INCORRECT values displauyed in debug window and intellisense.

If I have multiple bits set on an enum marked as Flags (bitfield) and have the someBitfield = A | B, the value numeric is correct but the name shown
in the watch window and intellisense is incorrect, it is just showing A and not A | B, this is misleading and wastes time with partially correct (and
therefore incorrect).
Thanks.


Jul 21 '05 #2
The user watch window I am referring to, not the Auto or Locals tabs.

and the enums is definately a bug :D
"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,
In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?
Never seen that. On my machine values in the Watch window DO become red

when they change.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"news.microsoft.com" <di********@discussion.microsoft.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Hi,

In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?

Would it not be better if this window was also change highlighted?

Enum Flags INCORRECT values displauyed in debug window and intellisense.
If I have multiple bits set on an enum marked as Flags (bitfield) and

have
the someBitfield = A | B, the value numeric is correct but the name shown in the watch window and intellisense is incorrect, it is just showing A

and
not A | B, this is misleading and wastes time with partially correct (and therefore incorrect).
Thanks.

Jul 21 '05 #3
> The user watch window I am referring to, not the Auto or Locals tabs.

Yes, the Watch 1, Watch 2 ... windows. I mean them too.
and the enums is definately a bug :D
Will try this out when I have some free time.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx

Bring the power of unit testing to VS .NET IDE
"news.microsoft.com" <di********@discussion.microsoft.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl... The user watch window I am referring to, not the Auto or Locals tabs.

and the enums is definately a bug :D
"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,
In the debug Auto and Locals window the value that has changed becomes highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?


Never seen that. On my machine values in the Watch window DO become red

when
they change.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"news.microsoft.com" <di********@discussion.microsoft.com> wrote in

message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

In the debug Auto and Locals window the value that has changed becomes highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?

Would it not be better if this window was also change highlighted?

Enum Flags INCORRECT values displauyed in debug window and intellisense.
If I have multiple bits set on an enum marked as Flags (bitfield)
and
have
the someBitfield = A | B, the value numeric is correct but the name shown in the watch window and intellisense is incorrect, it is just showing
A and
not A | B, this is misleading and wastes time with partially correct

(and therefore incorrect).
Thanks.



Jul 21 '05 #4
Can you make sample program for me? I will check it. I can't see that
problem on my machine.

Good luck
--

--------------------
Blogs (http://seaousak.egloos.com)
Microsoft 2002 ~ 2004 .NET MVP
"news.microsoft.com" <di********@discussion.microsoft.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

In the debug Auto and Locals window the value that has changed becomes
highlighted in red, BUT the Watch window does no highlighting, why the
inconsistency?

Would it not be better if this window was also change highlighted?

Enum Flags INCORRECT values displauyed in debug window and intellisense.

If I have multiple bits set on an enum marked as Flags (bitfield) and have the someBitfield = A | B, the value numeric is correct but the name shown
in the watch window and intellisense is incorrect, it is just showing A and not A | B, this is misleading and wastes time with partially correct (and
therefore incorrect).
Thanks.

Jul 21 '05 #5

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

Similar topics

1
by: Chris | last post by:
The strangest thing started happening to me today in Visual Studio .NET 2003. I make changes to my code and compile it, but none of my changes are in the compiled program. The compiled program...
1
by: Derek Goto | last post by:
I was running the perl debugger with arguments "-d -e 1" to test a small program. When I assigned a value to the variable $foo, I could use it fine, but when I qualified $bar with my, it remained...
4
by: Girish | last post by:
Ok, starting from the basics. Reference types and value types are all objects underneath. So, a String is an object as well. Now, when when we are debugging and we examine the contents of a...
5
by: Tom Edelbrok | last post by:
I have narrowed down a previous problem to the following more specific items: 1) I have my startup object in VB.NET (VS 2003) set to Sub Main(). 2) Inside of Sub Main() I do a...
3
by: kurt sune | last post by:
I am running the native debugger in Visual Studio. I debug an assembly calling DLL:s made in VB6. I can watch the values of variables thus: ?Number 0x06e1960c "300115"
18
by: R. Bernstein | last post by:
Okay, a bit of an exaggeration. Recently, I've been using Python more seriously, and in using the debugger I think one of the first things I noticed was that there is no "restart" ("R" in...
4
by: aramsey | last post by:
I have a javascript program that works fine under Firefox and on IE when running XP, but is having a problem with IE running under Windows 2000 Pro. On my personal XP development machine I have...
2
by: Joanna Carter [TeamB] | last post by:
Hi folks If I write a KeyDown handler and check the KeyCode for Keys.Insert, the debugger shows the value as Keys.LButton | Keys.MButton | Keys Back | Keys.Space. This is perfectly...
3
by: colin | last post by:
Hi, Ive finally found what the difference is, it seems a difference of the least significant bit is enough to cuase a problem with part of my code, wich determins if one point is inside a 3d...
12
by: Arcticool | last post by:
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...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.