• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bug-fixing

 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
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
 
fred rosenberger
lowercase baba
Bartender
Posts: 12085
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have several options...

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.
 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic