CGKit is a tool for source level based execution tracing of PureBasic projects. The target audience are advanced PB users developing multithreading applications.
It can be used to easily spot race conditions, deadlocks or to get a better understanding of the execution flow between multiple threads (visualizing semaphore/mutex synched interactions) for optimization.
OS: Windows XP/Vista/7 both 32-bit and 64-bit
You can view the instructions/info online here.
The CGKit download includes a CHM version for offline use.