Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Test for crash of application

My application is crashing on a couple of PCs but we cannot come up with steps to receate. How does someone go about testing this? What are the cause for an application to crash?
Any insights would be appreciated.
Regards,
Dan
[256 byte] By [danielreber] at [2007-11-11 7:51:30]
# 1 Re: Test for crash of application
Dan, this one's a toughie. If the application never crashes on the development machine, I would be inclined to think that a necessary file has not been copied over to the users machine. Have the correct runtimes been installed on the users machine?

Does the programme sometimes run OK on the users machine, is so then it might just be a debugging issue that has gone un-noticed by you on your machine. Get the user to log everything they do and then try to re-create the problem at base.

I could go on and on as the list of possibilities is vast. Wait for other replies, there are some seriously knowledgeable people around here.

Steve.
Steve Grant at 2007-11-11 17:26:21 >
# 2 Re: Test for crash of application
What are the cause for an application to crash?

Answer: they are inifinite :)
First, never ever neglet to put error handling, as I always say even if VB6 error handling is lame, it is NOT a good excuse for not using it... Knowing where the error occours and the error code is, most of the time, enough to understand the problem.
There are many ways to debug problems like this, but they depend of the type of application. Can you give us more info? What kind of resources your app is using (web, database, file I/O, services, third party components etc) First thing to do is, anyway, trying to reproduce the problem.

Marco
mstraf at 2007-11-11 17:27:20 >