Playback of intermittent bugs

Asked

Viewed 36 times

4

I have a problem to solve at the company and I would like some guidance on that. What is the correct procedure to locate an error that happened only once?

For example, in my case the client was launching a movement in the system, and something happened that a large volume of information was excluded from the correlated tables in the procedure.

However, with the client’s database in hand, retracing the step by step does not give the error anymore, there is some technique to manage this type of situation?

  • 3

    +1, good question. Problems like this sometimes happen here in the company too

  • I edited the title to make it clearer and aligned with the purpose of the question. Now, I have my doubts whether the tag [tag:source code] is the most appropriate one. I left the tag because I couldn’t think of a better one.

  • It’s a complicated situation. Probably the answer is to do what you’ve already done. Without a concrete situation I don’t know if you can help more than that. The problem may actually have something to do with the environment. What I always say is that most programmers think a code is good if it tests and it’s working. But working is different than being right. When it goes wrong, this kind of thing happens, someone swirls the code in a different situation than what was tested and then screws it up. There is a case that is virtually impossible to reproduce even. I find this question too wide.

  • Okay. @bigown you’re right, the subject is broad, I agree with you. Even my questioning was due to this, there are many things that I do not yet master in programming, I entered the POO now and thought there could be some sequence of coordinated actions for this case.

  • 1

    There’s nothing general about it except trying to replicate all the conditions. There are some very advanced techniques in specific technologies, things where the code was prepared for that. The idea is that now the milk is already spilled. When the application is done thinking about it, you can avoid a lot of situation like this and if it occurs you can have a lot of information about how and why it happened. Prevention is better than cure.

  • All right, about the problem, I’ll keep trying to simulate and see where I can get. Thank you for the answers. Now regarding the techniques that you mentioned, I could cite some examples or some reference to improve in this issue?

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.