Visual Studio stops running when evaluating variable

0

Doing some testing on an old system, I got a strange behavior from Visual Studio. When I hover over a variable of a specific type, Visual Studio closes, as you can see in the GIF below:

(Notethatquestionsappearinthepropertiesnameforamoment.

AtfirstIthoughthehadenteredsomekindofloopinthegetofsomeproperty,butIputbreakpointsonallclasspropertiesandthisdidnothappen.

TheobjectIevaluateatthebeginningisoftype:

List<EntrevDeslig.Planilha>listaDados=newList<EntrevDeslig.Planilha>();

AndtheattributesofthePlanilhaobjectareasfollows:

privatestring_nomeplan;publicstringsNomePlan{get{return_nomeplan;}set{_nomeplan=value.Replace("'", "''"); } }

    private string _tituloplan {  get { return _tituloplan; } set { _tituloplan = value.Replace("'", "''"); } }
    public string sTituloPlan;

    private string _grade;
    public string sGrade { get { return _grade; } set { _grade = value.Replace("'", "''"); } }

    private string _quesito;
    public string sQuesito { get { return _quesito; } set { _quesito = value.Replace("'", "''"); } }

    private string _dataini;
    public string sSdataIni { get { return _dataini; } set { _dataini = value.Replace("'", "''"); } }

    private string _datafim;
    public string sSdataFim { get { return _datafim; } set { _datafim = value.Replace("'", "''"); } }

    private string _grupocar;
    public string sGrupoCar { get { return _grupocar; } set { _grupocar = value.Replace("'", "''"); } }

    private string _cargo;
    public string sCargo { get { return _cargo; } set { _cargo = value.Replace("'", "''"); } }

    private string _datareg;
    public string sSdataReg { get { return _datareg; } set { _datareg = value.Replace("'", "''"); } }

    private string _chave;
    public string sChave { get { return _chave; } set { _chave = value.Replace("'", "''"); } }
    public int iOrdem;

    private string _titulo;
    public string sTitulo { get { return _titulo; } set { _titulo = value.Replace("'", "''"); } }

    private string _titulopai;
    public string sTituloPai { get { return _titulopai; } set { _titulopai = value.Replace("'", "''"); } }

    private string _processo;
    public string sProcesso { get { return _processo; } set { _processo = value.Replace("'", "''"); } }

    private string _nivel;
    public string sNivel { get { return _nivel; } set { _nivel = value.Replace("'", "''"); } }

    public string BCOID;
    public string sOPC;

The problem happens only when I evaluate the Worksheet class, not the list.

Has anyone had a similar problem? Or at least know some way to identify the cause of the problem (VS logs, something ..)? The system works perfectly in production environment, but I would like to fix this, or at least understand

    
asked by anonymous 23.03.2017 / 19:54

0 answers