Moore's Mind

Wednesday, October 12, 2005

Thread was being stopped.

While debugging a test application that is using my managed wrapper for Microsoft's Peer-to-Peer API's, I kept getting the following error: "Thread was being stopped."

A quick search via Google shows that others have had the same problem. I found the answer at the end of this link. Turns out I was watching a listbox control. I removed this from the Watch Window and suddenly the problem went away.

Hope this helps someone.