[英]Visual Studio debugger crashes when viewing a variable
下面是我在VS Debugger崩潰之前不久得到的內容。 當我沒有調試器查看它時,它會在set函數中拋出一個段錯誤。 調試器一整天都在工作,同樣的東西。 有任何想法嗎?
我正在查看的對象:
[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; }
}
}
你確定你輸入的代碼與你的代碼相同嗎?你真的沒有get { return location; }
get { return location; }
在該位置屬性(注意失蹤_
從而遞歸無限)?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.