Watch window shows structs from wrong context - by Diego Dagum - MSFT

Status : 

  Deferred<br /><br />
		The product team has reviewed this issue and has deferred it for consideration at a later time.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 637958 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 1/24/2011 5:02:33 PM
Access Restriction Public

Description

In a multi source C++ project, a same variable name is locally used in more than one source (declared as variable of different type in each). When debugging, it's expected that the Watch1 window will show the contents of the variable depending on its context (debugging source1 will show the source1 version of the variable, source2 shows source2 one, etc). However, there are cases when this doesn't work as expected and the wrong definition if being seen out of its context.
Sign in to post a comment.
Posted by tkc5443 on 6/15/2011 at 5:21 AM
@David:

What does this mean? Are you going to fix the bug? If so, when? It's been 6 months since the bug was reported.
Posted by Microsoft on 5/24/2011 at 12:55 PM
Thanks for the suggestion. We're investing in improved debugger C++ expression evaluation over the next couple of product cycles and hope to have significant improvement in conformance to modern C++ standards during this time.

Thanks,
David W. Gray
Visual Studio Debugger Team
Posted by Microsoft on 1/24/2011 at 6:50 PM
Thanks for your feedback. We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 1/24/2011 at 5:14 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)