Debug Files
version 1 by Juhana Leinonen
Documentation
- Chapter: Overview
- Chapter: How to use it
- Chapter: About the saved file
- Example: * Bear Hunter - An example where some information of the game mechanics is saved to the deb
Chapter: Overview
The purpose of the Debug Files extension is to provide a way to record debugging information to a text file while beta testers play the game. This information can then help the author to locate problems found during the testing.
The usual convention is that the beta testers save a transcript of their playthroughs for the author to read. When using this extension the game creates another file, called "debug.glkdata" (the actual extension depends on the interpreter used). The author can have the game output information to this file at any point. The text is not displayed to the player so beta testers can play the game without debug information cluttering the view.
Z-machine can't save external files. Therefore this extension is Glulx-only.