MiniDumpWriteDump (C#) produces zero length dump files for specific process

后端 未结 1 2000
孤独总比滥情好
孤独总比滥情好 2021-01-25 21:39
  1. Executing MiniDumpWriteDump within the specific process provides healthy dump file.

  2. Executing MiniDumpWriteDump from external process, where hProcess an

相关标签:
1条回答
  • 2021-01-25 22:31

    Ok.. found the solution for that..

    The external process project was build for "AnyCPU" platform (and as it doesn't execute only-64 bit commands, it was running for 32-bit). Setting it to x64 made it possible to dump another 64 bit process.

    And I would recommend to anyone who encounter this issue, to create separated projects, one for 32 bit and one for 64 bit.

    0 讨论(0)
提交回复
热议问题