473,385 Members | 1,474 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 1433
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...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.