Analysing crash dump in windbg

前端 未结 5 1284
攒了一身酷
攒了一身酷 2021-02-06 03:13

I am using a third party closed source API which throws an exception stating that \"all named pipes are busy\".

I would like to debug this further (rather than just step

5条回答
  •  萌比男神i
    2021-02-06 03:28

    You could start doing as follows to get an overview of the exception:

    !analyze -v
    

    Now you could load the exception context record:

    .ecxr
    

    And now... just take a look at the stack, registers, threads,...

    kb     ;will show you the stack trace of the crash.
    dv     ;local variables
    

    Depending on the clues you get, you should follow a different direction. If you want a quick reference to WinDbg I'd recommend you this link.

    I hope you find some of this commands and info useful.

提交回复
热议问题