Eli5: How does a glitch happen?

252 views

How does a glitch happen in a video game and how do they fix it? If coding is what I think it is and that’s where the issue lies, how do you locate a glitch in endless amounts of code?

In: 0

10 Answers

Anonymous 0 Comments

The code isn’t endless and it is structured, well good code is. Each piece of the code has a specific job to do. When debugging you can do a few things. Check error logging, this will often tell you the call stack. Then you can go to that code and start analyzing it for defects. Also you will attempt to reproduce the problem. If you can do this then your knowledge of the code base can be leveraged to determine what the probable components involved are and you can go there and start debugging. It is definitely a skill to debug code, actually different skills are used than just writing new code. Some devs like it, some don’t. There is an element of sluething involved to build a picture of what happened. Sometimes it is easy, sometimes you’re banging your head on the desk.

You are viewing 1 out of 10 answers, click here to view all answers.