[英]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?
有任何想法吗?
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.