简体   繁体   English

查看变量时Visual Studio调试程序崩溃

[英]Visual Studio debugger crashes when viewing a variable

Below is what I get shortly before VS Debugger crashes. 下面是我在VS Debugger崩溃之前不久得到的内容。 When i don't have the debugger view it, it throws a segfault in the set function. 当我没有调试器查看它时,它会在set函数中抛出一个段错误。 The debugger has been working all day, on this same stuff too. 调试器一整天都在工作,同样的东西。 Any ideas? 有任何想法吗?

Visual Studio调试会话

Object i am viewing: 我正在查看的对象:

[DataContract]
public class SvnUrl
{

    public string _type;
    public string _acronym;
    public string _location;
    public string _url;
    public int _foundstatus;

    [DataMember]
    public string type
    {
        get { return _type; }
        set { _type = value; }
    }
    [DataMember]
    public string acronym
    {
        get { return _acronym; }
        set { _acronym = value; }
    }
    [DataMember]
    public string location
    {
        get { return _location; }
        set { _location = value; }
    }
    [DataMember]
    public string url
    {
        get { return _url; }
        set { _url = value; }
    }
    [DataMember]
    public int foundstatus
    {
        get { return _foundstatus; }
        set { _foundstatus = value; }
    }
}

Are you sure you typed the example identical to your code and you don't really have get { return location; } 你确定你输入的代码与你的代码相同吗?你真的没有get { return location; } get { return location; } in that location property (note the missing _ thus recursing infinitely)? get { return location; }在该位置属性(注意失踪_从而递归无限)?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 调试器在一组虚拟属性上崩溃 - Visual Studio debugger crashes on set of a virtual property 添加页码参数时,Visual Studio调试器中的Reporting Reports在Visual Studio调试器中崩溃 - Report Services crashes in visual studio debugger for local report when page number parameters are added Windows Phone 8.1应用程序共享图像-在连接了Visual Studio调试器的手机上可以正常工作,但是在没有调试器的情况下运行时会崩溃 - Windows Phone 8.1 app to share image - works fine on my phone with Visual Studio debugger attached, but crashes when run without the debugger Visual Studio调试器自动变量分配 - Visual Studio debugger automatic variable assignment 在使用Visual Studio 2010时将调试器附加到程序时,无法查看托管变量名称 - Cant see managed variable names when attaching a debugger to a program when using Visual Studio 2010 尝试打开时Visual Studio崩溃 - Visual Studio crashes when trying to open up 打开文件时,Visual Studio 2013崩溃 - visual studio 2013 crashes when opening a file 发布到Azure时,Visual Studio崩溃 - Visual Studio crashes when publishing to Azure 删除引用时Visual Studio崩溃 - Visual Studio crashes when removing reference 重写WndProc时Visual Studio设计器崩溃 - Visual Studio designer crashes when overrideing WndProc
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM