Linux Today: Linux News On Internet Time.

More on LinuxToday

developerWorks: Tracing in a Multithreaded, Multiplatform Environment

Mar 24, 2004, 05:30 (0 Talkback[s])
(Other stories by Daniel Would)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

"In 'Use a consistent trace system for easier debugging,' Scott Clee showed you how to trace and log from a custom class to provide a consistent tracing approach across your applications. This approach is fine for individual applications that run on a single thread, but when things get a little more complex, you can quickly find yourself with a mass of trace data and no clues as to how to track what actually happened.

"There are two main elements to successful tracing. The first is outputting enough information to be useful. The second is outputting it in such a way that you can get at the information you need. After all, you could output a mound of data that remains totally unreadable and unsearchable. Thus, this article is divided into two sections: one focused on producing trace data, and one focused on querying the resulting information in specific ways..."

Complete Story

Related Stories: