Skip to main content

Questions tagged [debugging]

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

Filter by
Sorted by
Tagged with
3 votes
3 answers
3k views

If I made an Xbox 360 game with XNA, would I need to debug it on the Xbox 360 as I was coding it? Or would there be a small emulator on my computer to debug it?
CJ Sculti's user avatar
  • 215
4 votes
1 answer
1k views

In my project, I call nanoTime and use that to get a deltaTime which I pass to my entities and animations. However, while debugging (for example, stepping through my code), the system time on my ...
TheMaster42's user avatar
1 vote
1 answer
284 views

Can I limit the number of shader units used by my video card? (A shader unit is the part of the hardware which can execute a shader program, where each unit runs in parallel). I'm interested in this ...
user827992's user avatar
  • 1,971
13 votes
4 answers
9k views

I'm writing a game engine, and when I use a perspective camera I get a black screen. I am not going to ask exactly why this is because there would be a lot of code to share and, frankly, I think that'...
Publius's user avatar
  • 1,513
4 votes
3 answers
3k views

Why and in which way should I incorporate console logging into my small sized games? I use Java and C++. With console logging I mean things like this:
Oskar's user avatar
  • 387
5 votes
2 answers
2k views

I downloaded the gDEBugger from gremedy over a year ago, with their one year free license. The license has since expired and their site says that I'll be presented with the option for 1 year free ...
House's user avatar
  • 73.5k
13 votes
8 answers
48k views

I'm making a game with a dungeon setting in Unity 3D. Many torches line the walls. I'm using a point light over each torch to simulate the flame. However, when two torches are across from each other, ...
Timothy Williams's user avatar
2 votes
2 answers
387 views

I found debugging games especially hard for some obvious reasons. It's hard to monitor some internal values in dynamic, conditional breakpoints helps somehow, but only to detect some specific ...
pabdulin's user avatar
  • 2,710
6 votes
3 answers
1k views

I'm working with a custom made content pipeline designed to work with the program Tiled (using the TiledLibrary found here). I am running into trouble with the MapProcessor class in the custom content ...
JMRboosties's user avatar
-3 votes
1 answer
1k views

i get an error after i write player name to the file for second or third time (An unhandled exception of type 'System.InvalidOperationException' occurred in System.Xml.dll Additional information: ...
Eddy's user avatar
  • 1
1 vote
2 answers
3k views

The Direct3D9 debug runtime's debug output does not appear to be working correctly. I linked against d3dx9d.lib instead of ...
DeadMG's user avatar
  • 5,536
1 vote
2 answers
463 views

Okay so this is kind of weird, I have some code that creates particle.cs instances ...
steakbbq's user avatar
  • 469
1 vote
1 answer
374 views

I've been working on D3D 10 for about 6 months and I have accumulated a basic framework. The thing is I get frame rate spikes. Even when I have a simple cube on the screen each side with its own ...
PhilCK's user avatar
  • 590
1 vote
1 answer
1k views

I am trying to learn pygame. In order to do that, I have downloaded one of their examples : http://rpg-world.googlecode.com/files/rpg-world-src-0.93.tar.gz And started to run it in debug mode. ...
Andrey Rubshtein's user avatar
2 votes
1 answer
492 views

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 ...
EdwardTeach's user avatar
0 votes
1 answer
106 views

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. Then,...
Raven Dreamer's user avatar
5 votes
4 answers
1k views

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 ...
TerryB's user avatar
  • 1,273
0 votes
1 answer
211 views

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, ...
user avatar
7 votes
2 answers
2k views

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 ...
onedayitwillmake's user avatar
1 vote
2 answers
232 views

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 ...
user avatar
6 votes
2 answers
837 views

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 ...
user avatar
5 votes
2 answers
607 views

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 ...
Quincy's user avatar
  • 626
4 votes
2 answers
1k views

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 ...
James B's user avatar
  • 197
6 votes
1 answer
3k views

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. I've downloaded sample code of O`...
user avatar
18 votes
2 answers
6k views

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 ...
Jonathan Fischoff's user avatar
6 votes
1 answer
1k views

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 ...
Daniel X Moore's user avatar
20 votes
7 answers
1k views

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 ...
dcarrigg's user avatar
  • 1,037
18 votes
9 answers
2k views

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 ...
David McGraw's user avatar
  • 4,081

1 2 3
4
5
7