Make usage of tracefile almost as like a coredump for C language. You can load a trace file and navigate throw the source code of your application in a similar way of a debugger.