• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opinion on showing stack trace in GUI

 
Musab Al-Rawi
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am considering to handle Exceptions in GUI as follows:
show a friendly (hopefully friendly enough) message to the user with a "Show Details" button, when the button is clicked the stack trace is outputted to the user in the dialog below the message.
I have seen this approach in some applications.

another alternative is logging on the client side.

What do you think?
 
Chris Hurst
Ranch Hand
Posts: 443
3
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think thats nice but unecessary i.e. I just log client side which I really need to debug / test the thing ;-)

As I don't think you'll get any extra credit for the button I'ed drop it, though it is a nice idea but I'm not doing anything unless ether its strictly required or I think its a good learning exercise (I think I probably shouldn't do the learning bit either but I'll risk a few marks to play with some new stuf ;-) )
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had error dialog showing error message,.. and there was also "Details" button, which showed extra info -> stack trace. So user see something he can understand - "a normal message", and if he is curious, he can click details button and see stack trace.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic