Search

Visual Studio crashes when importing the same Data Tip exported before. by raj_kba

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 541676
Opened: 3/12/2010 7:26:30 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
VS crashes and prompted for me to restart when try to import the same DataTip which I have already exported before. I accidentally imported the same Data Tip (because it was covered with the breakpoint), which I exported and VS crashed and prompted for me to restart.


Details (expand)

Product Language

English

Version

Visual Studio 2010 Release Candidate

Operating System

Windows XP

Operating System Language

English

Steps to Reproduce

1. Create a new Console Application.

2. Add a string variable with an assignment within the Main method in Program.cs file
i.e
        static void Main(string[] args)
        {
            string str = "hello";
        }

3. Set a break point on the line where the variable is. i.e string str = "hello";

4. Run the application (F5).

5. Do a mouse over on the string variable and set the Pin.

6. Now without stopping the debugger, click "Debug" on the top menu bar and select "Export DataTips".

7. Save the xml data tip with any name you preferred.

8. Now stop the Debugger (you may remove the breakpoint if you like), and click "Debug" on the top menu bar and select "Import DataTips".

9. Now import the same "Data Tip" which you have just exported.

10. VS Crash and prompted for a Re start.

Actual Results

VS crash and prompted for me to Re start.

Expected Results

VS should not crash when importing same DataTip, which was exported before. If the DataTip already exist, then it should simply replace the old DataTip with the new imported DataTip.
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 7/13/2010 at 6:44 PM
Hello,

This bug has been fixed for the next version of Visual Studio, and once decisions are made regarding servicing releases for Visual Studio 2010 (e.g. a service pack), this fix will be considered for inclusion in the servicing release.

Best Regards,
Visual Studio Debugger
Posted by raj_kba on 3/23/2010 at 2:51 AM
Thanks for your comments on this.
Posted by Microsoft on 3/22/2010 at 2:05 PM
Hello,

Thank you for taking the time to report this. Unfortunately given the current phase of product development for Visual Studio 2010 we will not be able to fix this for RTM. We have added an item to the Visual Studio Readme explaining this bug. The crash only occurs if a duplicate DataTip is imported in Design mode. The workaround is to import the DataTips in Debug mode if a duplicate entry exists. Or if you know there is a duplicate, you can clear the duplicate DataTip by clicking the "pin" icon in the gutter before importing in design mode.

Best Regards,
Visual Studio Debugger
Posted by Microsoft on 3/15/2010 at 2:45 AM
Thanks for your feedback. We were able to reproduce the issue you are seeing. 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.
Sign in to post a workaround.