Tuesday, 17 February 2015

Linux strace alternative for Windows 7

I was having trouble with a little IBM tool for Cognos TM1 on Windows the other day, and had to start digging for the offending libraries and missing files that caused the program to misbehave. I was looking for tool to trace the execution of the program, just like the strace debugging utility on Linux.

After a couple of hits and misses, I found NtTrace that provides a simple trace facility for the Windows Native API and can also attach to running processes. Good tool for a little covert debugging action, works like a charm!

Source, x86 and amd64 binaries available.