Implement .ecxr command with Windbg API RRS feed

  • Question

  • How to implenent .ecxr command with Windbg API

    In other words how to get the exception's context in the dump file and set it as current?


    Saturday, February 20, 2016 11:23 AM

All replies

  • With windbg API, there's some function that executes a given command on the target. If  the .ecxr command or other command does what you want - make sure that the target is ready, then invoke that command.

    - pa

    Saturday, February 20, 2016 9:14 PM
  • You already tried IDebugControl4::GetStoredEventInformation
    MiniDumps and "Bad" Stacks
    Here is a c# sample of an application mentioned above by Pavel (I suppose). Just use IDebugClient::OpenDumpFile:

    with kind regards

    Saturday, February 20, 2016 9:45 PM
  • Just to make it clear, that is  Pavel Yosifovich, MVP. Not me.

    Saturday, February 20, 2016 11:05 PM