Home Dashboard Directory Help

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


 as Deferred Help for as Deferred

Sign in
to vote
Type: Bug
ID: 637958
Opened: 1/24/2011 5:02:33 PM
Access Restriction: Public
User(s) can reproduce this bug


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

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.

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)
Sign in to post a workaround.