Get stack timestamps in crash dump

I have a process that terminates unexpectedly. Around the same time, a crash occurs, I see an error while working with the journal infrastructure, and then it quietly closes.

I am trying to understand which of the processes is causing the problem, the infra log is getting my crash process or vice versa.

To do this, I look at the dump of the emergency process that was processed (taken from adplus) and tried to understand at what point the first method associated with the exit was called, then compare it with the infra log error time and shutdown time.

How can I do this, is there a way to get the method calls a timestamp on the stack?

Thanks.

+4
source share
1 answer

Attach WinDbg or run the application using WinDbg and change the timestamp parameter:

.echotimestamps 1

This inserts timestamps into the output for all events, such as exceptions, thread creation, etc. see the msdn link .

I would also write the log to disk immediately after attaching WinDbg:

.logopen c:\temp\mylog.txt

in order to capture the conclusion, it must achieve what you want.

+4
source

All Articles