Tag Info

New answers tagged

0

Let's take it to the extreme, and assume that you found the bug much earlier: in your code, as you were writing it. Then you wouldn't have any qualms about fixing it right there -- you see a logic flaw in the code you just wrote, it doesn't do what you wanted it to do. You wouldn't feel a need to setup a whole environment to show that it's actually a bug. ...


-1

Sounds to me like you need more detailed logging. While adding more logging cannot guarantee that you won't need to debug (or, in this case, reproduce the situation), it will give you a far better insight into what actually went wrong. Especially in complicated/threading situations, or anything where you can't use a debugger, falling back on "debug by ...



Top 50 recent answers are included