How to open a logfile in windbg from a script, such that each logfile is named by the timestamp of c

Posted by shan23 on Stack Overflow See other posts from Stack Overflow or by shan23
Published on 2010-03-31T13:01:57Z Indexed on 2010/03/31 13:03 UTC
Read the original article Hit count: 362

Filed under:
|
|

Hi,I want to run a windbg script that will accomplish the following:

I want to track certain registers the moment an API is hit, without stopping due to timing issues. So , the moment the API is called, I want the script to open a logfile, echo the fact that the api is hit with the details of the parameters, and let it run till it hits the conditional brkpoint I've put at the API end, which simply closes the open logfile.

Now , the problem is, I want to do this multiple times, w/o the previous logfile getting overwritten. Ideally, if there is some command which lets me specify that the name of the logfile (.logfile file) by the timestamp of that moment, my problem is solved.

Can anyone help?

© Stack Overflow or respective owner

Related posts about WinDbg

Related posts about debugging