Visual Studio debugger crashes when viewing a variable

Below I get shortly before VS Debugger crashes. When I don't have a debugger view, it generates segfault in the set function. The debugger works all day, on the same material. Any ideas?

Visual Studio Debug Session

The object I'm 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; } } } 
+7
source share
1 answer

Are you sure you typed an example identical to your code, and you really don't have get { return location; } get { return location; } in this location property (note the missing _ , which would thus be infinitely recursive)?

+4
source

All Articles