Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Random Crash (http://www.go4expert.com/forums/random-crash-t1334/)

vatsa_mitr 2Sep2006 21:40

Random Crash
 
Hi all,
suppose an application crashes 5 times how would i chk those points where it is crashing?one possible answer is write a log file but it will crash diff points when i will start it again.anybody has its answer.....

shabbir 2Sep2006 21:55

Re: Random Crash
 
Try using debug version and where it crashes you will be taken to the code and see if any values are not as accepted and that should be the best way to go.

If it does not crash in debug mode then you should be going about using the outputdebugstring or write the log to a file with the possible variables that can cause the trouble and find out the problem.


All times are GMT +5.5. The time now is 11:25.