bug fixing

closed account (D8k16Up4)
Ok now this may sound like a dumb question but......... how do people fix bugs in their programs. And no i dont mean the ones where its like you forgot the ; at the end of this line of code etc. I mean the one's that (and im only using this as an example because of how widely known it is) would be in a game like minecraft or some other widely know game. Let me give you an example per say your playing the game minecraft and you walk into a cave or something like that. And then you walk to this specific spot and then like you fly through the ceiling and explode (Mabey a bit over dramatic but its just an example) im very curios about what they would do.

Any answers are greatly appreciated :)))))
Well, first you try to identify the module where the error occurs from the description of the effect.

The best would be that you can go through the code step by step with a debugger.

Somethimes it is not possible due to thread/exception/timing then you put debug outputs to get closer to the source of the problem.
Topic archived. No new replies allowed.