I have created a desktop application using swing and hibernate. I have created the .exe (off course for windows platform). Suppose, the application crashes, or anything like that happens. Then how will i detect the bug? Hope i am able to make you understand my problem
1) Hope the user can tell you what they were doing when it crashed, and you can duplicate the bug
2) have the program do some logging. However, you then have to be sure your program cleans up its log files, else you'll (eventually) fill up the disk space
3) Pray the program never crashes.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: Jun 05, 2010
Thanks fred rosenberger for those series of options.
Can you please provide some detail about the 2nd option? (I will also go for 3rd option )