ILoggable

A place to keep my thoughts on programming

June 6, 2005 .net

Revised DebugLog window

Ran into problems with the debuglog window code i posted. Basically, since the log watcher thread is not the form’s thread, you can run into deadlock. So i created a fully self-contained floating window, that properly manages the log writing using Invoke(). For more detail on the whole Form thread vs. other threads issue, check out this Code Project article.

The .cs and .resx files are here

Update 6/12/05: Fixed another deadlock issue with the Debug window. See this post for details. The linked source was updated.

Leave a comment