Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Does Debugger work in ERAS 2?

A topic by Klatu created Apr 04, 2023 Views: 197 Replies: 4
Viewing posts 1 to 4

I can't seem to get the Debugger to work/show. This worked for GOF 1.0 but not for ERAS:

#define MOD_BETTATESTMODE "On"

debugwindow = 1

Is there anything I'm missing?

(+1)

Use dbgwindow = 1

I don't remember the reason, but I changed the name from debugwindow

(1 edit)

It turns out having one incorrect character in Debugger.c will prevent the window from show at all. It will actually work with the normal syntax: 

debugwindow = 1

Yeah I was a bit confused about that and tried different entries before I realized it was broken code. Something I would suggest if you ever update the release is to set these values up normally in addition to other fundamentals like the FPS lock. At least that would have saved me some headache lol.

PS. It might also be nice to have two different preset files of Start.ini and Globals, configured by you to get the most out of the engine/mod. 

(+1)

I think we're discussing two different things.

The debugger screen you are talking about is enabled with _mod_on_off.h and the line:

#define MOD_BETTATESTMODE            "On"  // On -DEV version; Test - TST ver; Off

If "On", then F11 will launch the screen you are talking about and debugwindow=1 in start.ini has no effect.


I thought you wanted this screen:

This is enabled with start.ini setting dbgwindow = 1, then hit F5.  I thought that is what you were trying for.

Yes, if you have a script error in Program\debuger.c, it will not launch.

Ahh roger that. Yeah I just goofed up when setting up a Debugger string and it wouldn't launch the window. Thanks for clarifying.