Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time Travel Debugging: how to install it without the store?

I've a problem on a preproduction server and I thought it was the right time to try the time travel debugger added to the WinDbg Preview. But it seems impossible to get it outside a dev machine:

  • Install only available from the store ... so need to be connected on the store
  • Windows 10 requirements

Is this features usable outside the development environment ? If yes, how ? Thank you

like image 461
Fabske Avatar asked Jan 25 '23 08:01

Fabske


1 Answers

If you target OS is Windows Server 2016, 2019 or Windows 10, you can use the standalone reduced features version of TTD, now present in most recent versions of Windows. For now, the only thing you can do with this standalone version that comes with the OS is to attach to an existing process to record the trace. This is the command syntax:

Requires elevated privileges

TTTracer [-out <folder-name-for-run-file>] -attach <PID>

Example:

sample tttracer

After reproducing the problem, run from another command prompt to stop capturing:

TTTracer -stop all

Example:

tttracer stop

like image 175
Rodney Viana Avatar answered Jan 26 '23 20:01

Rodney Viana