-1

I tried installing procdump tool from https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

when i open the command window and run procdump exe as:

procdump.exe -g -e -w -ma test.exe

it just shows waiting for process names test.exe

it doesnot create any dump file at all.

any help will be appreciated.

mpromonet
  • 11,326
  • 43
  • 62
  • 91
KaushikV
  • 21
  • 5
  • also, please let me know if there is any other better tool to create crash dump files whenever there is any crash. my application is a server running on a machine and its very difficult to debug the crash as many users are connected to it and there is absolutely no idea how to reproduce the crash. any suggestions/comments are most welcome. – KaushikV Apr 03 '15 at 17:01
  • `-w Wait for the specified process to launch if it's not running.` so it should wait? – wimh Apr 03 '15 at 19:38
  • @Wimmel : it should wait if it is not runninng but in this command i am executing it with the procdump command , but still no luck – KaushikV Apr 03 '15 at 21:22

2 Answers2

0

The usage page includes the following options;

-w  Wait for the specified process to launch if it's not running.
-x  Launch the specified image with optional arguments. 

The options you use, include -w, but do not include -x, so procdump will wait until test.exe is running, but will not start it itself.

wimh
  • 15,072
  • 6
  • 47
  • 98
0

Well, it worked after a bit of trial and error : the command below works perfectly fine:

procdump.exe -g -e -w -ma exename

it basically waits for the process to start and once the process crashes , it creates a dump. Thankyou all for giving me pointers . i learnt something new :)

KaushikV
  • 21
  • 5