Is there any way to tell why a program is dying?

  • Thread starter Thread starter jmDesktop
  • Start date Start date
J

jmDesktop

Not sure where to post this, but I have a vbscript that is dying and I
do not know why. It runs for a while then disappears (dies.) I know
that vbscript has no decent error handling, but that I can do if
err.number >0 ...., It isn't a problem with the script, however, and I
believe it is dying because of something outside of it - in the OS or
some other conflict.

Is there any way to build a .NET program that monitors and logs why
the program dies and not just that it died? I'm not sure how to
proceed.

Thanks for any help.
 
have a look at your machine logs (eventvwr) look for anything suspicious.
script is typically difficult to debug. If you can modify the script you may
want to place output information every couple of lines so that you can
follow the output in a log file to narrow down where in the script it is
dying.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
 
Back
Top