G
Guest
When setting a breakpoint in a thread that I have created and the debugger
reaches that point, Visual Studio just hangs for about 10 seconds and then,
when I try F10 the thread ends and the debug output shows a
ThreadAbortException. I'm not doing any other operation than .Start() on the
thread. What is wrong?
m_thread = new Thread(DataInThread);
m_thread.Name = "Data in thread";
m_thread.Start(new object[] { l_frm.COMport, 9600 });
public void DataInThread(object parameter)
{
//Any breakpoint in this function, irrellevant of where it is placed, stops
the execution but with a delay of about 10 seconds, and then aborts abruptly
when pressing F10
reaches that point, Visual Studio just hangs for about 10 seconds and then,
when I try F10 the thread ends and the debug output shows a
ThreadAbortException. I'm not doing any other operation than .Start() on the
thread. What is wrong?
m_thread = new Thread(DataInThread);
m_thread.Name = "Data in thread";
m_thread.Start(new object[] { l_frm.COMport, 9600 });
public void DataInThread(object parameter)
{
//Any breakpoint in this function, irrellevant of where it is placed, stops
the execution but with a delay of about 10 seconds, and then aborts abruptly
when pressing F10