Reply
Thread Tools
Search this Thread
Display Modes
  #1  
Old May 28th, 2006, 06:31 AM
birdy's Avatar
birdy birdy is offline
Junior Member
 
Join Date: Mar 2006
Location: Perth, Australia
Posts: 27
Default Queries about stack traces

The 4.11.1 beta lost connection for me sometime during the night (so I'm not sure when). Ran for 13 hours continuously before that without a problem, pretty much constant uploads but only 3 downloads.

Sam (or anyone), if you could answer a few queries I have about stack traces then I might be able to give you some better feedback. See my thread here
http://www.gnutellaforums.com/showthread.php?t=56507

I don't really know what I'm doing.

Thanks!

Last edited by birdy; May 28th, 2006 at 08:52 AM.
Reply With Quote
  #2  
Old May 28th, 2006, 06:08 PM
Sam's Avatar
Sam  LimeWire Team Sam is offline
software developer
 
Join Date: Mar 2006
Location: new york
Posts: 1,594
Default

Full stack traces are very hit or miss. In a few scenarios, they'll be a tremendous help at pinpointing what went wrong, but in the vast majority they won't be useful. The same goes with logging -- most logging after the fact won't help, but logging while a problem is happening (if the logging is in the right package) is usually invaluable. It's difficult, because running with too much logging can slow things down, but you have no clue when bugs are going to happen... What I tend to do is try and create problematic scenarios, but make sure that logging is on first.

The absolute most useful thing is the error that goes along with an internal error. If there's no error dialog, though, the bugs are a lot harder to diagnose. Good detective work and an eye for noticing, "If I do this, that happens" is usually best.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Forum Jump


All times are GMT. The time now is 05:34 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.