Debugging is a methodical process of finding and reducing the number of bugs in a game, thus making it behave as expected.

learn more… | top users | synonyms (1)

2
votes
1answer
234 views

How to debug pyglet/opengl bus errors

I'm using pyglet for game development, and sometimes encounter "bus errors". They are not consistently repeatable, and whenever I try to do simple debugging (eg move/remove variables, etc), the errors ...
0
votes
1answer
77 views

Why might my Object Attributes become linked after refactoring?

As part of a game design class I'm taking this semester, I'm developing the basics of a game engine. I shared what I had in the GameDev chatroom, earlier, and everything was working as expected. ...
5
votes
4answers
716 views

Debugging tips? [closed]

I'm new to games programming and I'm working on a C#/XNA project. Something I'm spending a lot of time on is debugging. Obviously as games run in a loop finding the exact iteration that a bad ...
0
votes
1answer
176 views

Under what circumstances will a PIX 'Render' be different to the actual 'render'?

I am trying to implement dual-pass alpha sorting using Ogre material scripts, as part of my debugging attempts I want to compare two PIX captures, but when I attempt to debug a pixel in PIX, ...
7
votes
2answers
1k views

Scrolling Box2D DebugDraw

I'm developing a game using Box2D (javascript implementation - Box2DWeb), and I would like to know how I can pan the debug draw. I know the usual answer is - don't use debug draw, it's just for ...
1
vote
2answers
158 views

How can I automate high-level user interactions to test correctness of my game?

I am trying to automatically simulate the game experience in my programming game. I think Expect is the way to do it because it creates its own tty for the process, becoming independent process of the ...
6
votes
2answers
765 views

How could an XNA game close with no exception being thrown?

I've been messing with my game's network code recently (TCP/UDP sockets) and my game keeps shutting down with no exceptions being thrown at all. It runs fine until the disconnection of a client, so I ...
4
votes
2answers
497 views

Particle and Physics problem

This was originally a forum post so I hope you guys don't mind it being 2 questions in one. I am making a game and I got some basic physics implemented. I have 2 problems, 1 with particles being ...
4
votes
2answers
811 views

Debugging/Logging Techniques for End Users

I searched a bit, but didn't find anything particularly pertinent to my problem - so please do excuse me if I missed something! A few months back I inherited the source to a fairly-popular indie game ...
6
votes
1answer
2k views

Atmospheric Scattering

I'm trying to implement atmospheric scattering based on Sean O`Neil algorithm that was published in GPU Gems 2. But I have some trouble getting the shader to work. My latest attempts resulted in: ...
15
votes
2answers
4k views

How can I debug shader programs?

I'm in the process of debugging GLSL vertex shaders and I can't shake the feeling that I'm doing it wrong. In general I have two strategies to make up for the lack of tracing I stuff values into a ...
6
votes
2answers
1k views

What is the best way to debug and profile a web application on an iPod in Mobile Safari?

I've built a web app that makes heavy use of JavaScript and HTML5 canvas. It's easy to debug in Chrome, but on a mobile device the developer tools are much less robust. Is there a tool or technique ...
18
votes
7answers
998 views

How do you get useful data from playtesters? [closed]

There are a few types of feedback you can get from playtesters, and I wonder how to best gather data for each of them... Crash Reports. When my C++ game crashes while someone is playing it, how do I ...
18
votes
9answers
1k views

Real-time Debugging Techniques

There's nothing quite like the routine of tweaking a variable, compiling code that takes a few minutes, executing the code, realizing that your tweak was in the wrong direction and repeating the ...