Original Post
I was wondering if anyone here creates a debug file, when they create a game. I just made my first game and while programming it, I realized I had to create a debug file, because it is hard to debug a fullscreen game with the debugger itself.
I have two questions now:
- Is this debugging information still usefull, when the game is finished? I think it's an important question, because this debugging takes up a lot of disk space. Without the debugging stuff my game is 104kb and with debug info it is 174kb.
- And second, how is your debug file setup? Now, I'm just writing some text with an indentation. Something like this:
Starting Game
General Information
Date: 24/10/00
Time: 21:39:48
Name of debug file: D:\Mijn documenten\Bricks\debug.log
Windows Version: 4.10. A
Processor type: Intel Pentium or higher
Keyboard language: English (United States)
Sub Main()
Initializing Procedure
Initializing DirectSound
Setting soundbuffer: CTRLFREQUENCY, CTRLPAN, CTRLVOLUME, STATIC
Setting wave format: PCM
Setting number of channels: 2
Setting sound frequency: 22050
Setting bits per sample: 16
Initializing DirectDraw
...
In my program I just call this method: WriteLog("Initializing DirectSound", 3). Is this a good technique?
Edited by - soehrimnir on 10/25/00 2:47:06 AM