windowscrash-dumpsadplus

Application crashes on start - how to get a crash dump file?


My winform application crashes as soon as its been launched. This problem is only happening in one of the client computer. Works fine for all other clients. I was thinking of using ADPlus to get a crash dump but problem is in order to configure ADPlus in crash mode, debugger need to be attached to running application first. That means application must be running when I configure ADPlus, however, as I said my application crashes as soon as I start it. It does not give me a chance to run ADPlus. Any idea if ADPlus can be used in this scenario? Are there any other tools that I can use generate a process dump in this case?


Solution

  • Since you can't start the program and then attach a debugger in time, you can try one of the following ideas:

    If and when the crash happens, the debugger will automatically break in and either create a dump automatically or let you create one manually.

    If you can't run a debugger, not even ProcDump, you can use Windows' built-in crash dump facility to create a dump automatically: