I have child form that has a TextReader
to load some values on being called. It keeps crashing the moment I summon the form. This form has a Timer
that updates the text of a TextBox
this way:
textbox.Text = this.ActiveControl.Name;
I notice that disabling the timer during the loading operation stops the crashing from happening. Am I right to say that the TextReader
is interfered by this.ActiveControl
and causes the crash?
The VS Just-in-Timer debugger gives out differe [xxxx] error code each time. Trying to debug with VS gets "Unable to attach crashing process. A debugger is already attached."