Could things be changes so that having debug mode enabled automatically enables flush log?
Thanks.
Debug log
Moderator: Moderator
-
- Uruivellas
- Posts: 744
- Joined: Thu Nov 18, 2010 6:42 pm
Re: Debug log
I'd much prefer a debug menu command that forced flushing of the buffer to the file, since flush can slow down the game appreciably.
I run in debug mode a lot to check for intermittent or unexpected bugs (including performance issues) and the slowdown would be very annoying/counter-productive. It's very useful to be able to open up the debug console in those cases to investigate variables that are not saved with the save file. That wouldn't work if you had to reload the game each time to work around a debug mode performance penalty.
I run in debug mode a lot to check for intermittent or unexpected bugs (including performance issues) and the slowdown would be very annoying/counter-productive. It's very useful to be able to open up the debug console in those cases to investigate variables that are not saved with the save file. That wouldn't work if you had to reload the game each time to work around a debug mode performance penalty.
Re: Debug log
you can try to use http://te4.org/games/addons/tome/advanced-debuger its not perfect, works only for ToME, its not finished but allows you to get (almost) instant log, also be aware its addon so it will display log after its loaded by game,
quick instructions:
enable addon
load ToME
open localhost:3018 in browser
quick instructions:
enable addon
load ToME
open localhost:3018 in browser
You are likely to be eaten by a grue
Re: Debug log
Okay, maybe a persistent switch then?
I don't have slow issues with flush log, but loading the launcher and turning it on when I want it takes time.
(vaguely wondering if one exists already...)
I don't have slow issues with flush log, but loading the launcher and turning it on when I want it takes time.
(vaguely wondering if one exists already...)
My feedback meter decays into coding. Give me feedback and I make mods.
-
- Uruivellas
- Posts: 744
- Joined: Thu Nov 18, 2010 6:42 pm
Re: Debug log
The persistent switch idea would work well, I think.
Graziel: The debugger idea looks promising, but needs some documentation (how do you inspect functions?) and a little more functionality.
Graziel: The debugger idea looks promising, but needs some documentation (how do you inspect functions?) and a little more functionality.