Not a big deal, but it looks like the runtime debugger 'inspects' (e.g.,
Autos window) user-defined enum's as having <undefined value>, even though
the execution seems to recognize their value just fine.
Is this normal, or is there something 'wrong' with my enum somehow (don't
think that's possible); or best yet, is it possible to make the debugger
recognize enum's and show its enum (alias) name when inspecting?
[==P==]
PS - I'm using VS c++.NET 2005 Express... 5 1151
"Peter Oliphant" <po*******@RoundTripInc.com> wrote in
news:uP**************@TK2MSFTNGP14.phx.gbl: Not a big deal, but it looks like the runtime debugger 'inspects' (e.g., Autos window) user-defined enum's as having <undefined value>, even though the execution seems to recognize their value just fine.
Is this normal, or is there something 'wrong' with my enum somehow (don't think that's possible); or best yet, is it possible to make the debugger recognize enum's and show its enum (alias) name when inspecting?
Yes, this is a known issue with debugging *managed* code using the VS
debugger. It should work for native code, though.
Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Thanks Tarek!
You say this is a 'known issue'. That's not the same as saying it's a bug
needing fixing. Is this something that is planned to be fixed? After all,
isn't the push away from native code and towards (/clr) managed code? If so,
I would think that any disadvantage that managed code has should be
remedied, yes? : )
[==P==]
"Tarek Madkour [MSFT]" <ta****@online.microsoft.com> wrote in message
news:Xn*****************************@207.46.248.16 ... "Peter Oliphant" <po*******@RoundTripInc.com> wrote in news:uP**************@TK2MSFTNGP14.phx.gbl:
Not a big deal, but it looks like the runtime debugger 'inspects' (e.g., Autos window) user-defined enum's as having <undefined value>, even though the execution seems to recognize their value just fine.
Is this normal, or is there something 'wrong' with my enum somehow (don't think that's possible); or best yet, is it possible to make the debugger recognize enum's and show its enum (alias) name when inspecting?
Yes, this is a known issue with debugging *managed* code using the VS debugger. It should work for native code, though.
Thanks, -- Tarek Madkour, Visual C++ Team This posting is provided "AS IS" with no warranties, and confers no rights.
"Peter Oliphant" <po*******@RoundTripInc.com> wrote in
news:OW**************@TK2MSFTNGP09.phx.gbl: You say this is a 'known issue'. That's not the same as saying it's a bug needing fixing. Is this something that is planned to be fixed?
Yes, we are aware of several native / managed inconsistencies in the
debugger that we are currently developing a plan to remedy.
Unfortunately, the scope of the work is beyond a few minor bug fixes.
Several components need to be changed (and possible shared) in order to
achieve success.
Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Hi Tarek,
I figured it wouldn't be an easy or quick fix. But it's good to know it is
considered a problem to be fixed at some point.
When it is fixed, my 'dream case' would be that it didn't just show the
value for an enum, but the variable name equivalent (which is, after all,
one of the main reasons for using an enum over just establishing a
convention based on int value). Is this the plan? : )
[==P==]
"Tarek Madkour [MSFT]" <ta****@online.microsoft.com> wrote in message
news:Xn*****************************@207.46.248.16 ... "Peter Oliphant" <po*******@RoundTripInc.com> wrote in news:OW**************@TK2MSFTNGP09.phx.gbl:
You say this is a 'known issue'. That's not the same as saying it's a bug needing fixing. Is this something that is planned to be fixed?
Yes, we are aware of several native / managed inconsistencies in the debugger that we are currently developing a plan to remedy. Unfortunately, the scope of the work is beyond a few minor bug fixes. Several components need to be changed (and possible shared) in order to achieve success.
Thanks, -- Tarek Madkour, Visual C++ Team This posting is provided "AS IS" with no warranties, and confers no rights.
"Peter Oliphant" <po*******@RoundTripInc.com> wrote in
news:Ok**************@TK2MSFTNGP10.phx.gbl: When it is fixed, my 'dream case' would be that it didn't just show the value for an enum, but the variable name equivalent (which is, after all, one of the main reasons for using an enum over just establishing a convention based on int value). Is this the plan? : )
That would be my expectation of the feature as well :)
Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: [Yosi] |
last post by:
What I should do to return back the permissin I had in VS2003 , that allowd
me to access public methode of one Class from other Thread.
I have Class A(FORM) which create new thread (new class B),...
|
by: SpotNet |
last post by:
Hello CSharpies,
Can Enums in C# be UInt32 Types, and not just Int32 Types. I have a lot of
constant declarations that are UInt32 that I want to put in Enums to ease
the use of Intellisence. I...
|
by: bcox |
last post by:
Hello VS 2005 World...
I am making my way through VS 2005 Beta 1 and I'm having a problem getting
ASP.NET project to start in IIS running on an XP development machine.
I build a sample project...
|
by: Jay |
last post by:
In C# I can set up an Enum so that number are represented as keywords, which is very useful.
Is there such a datatype in a database?
I suppose I could use an extra table, with the ID column as...
|
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$) {
}
...
|
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...
|
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...
|
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...
|
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: 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,...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |