[Scummvm-devel] debuglevel in config file
Arisme
arisme at free.fr
Fri Apr 22 14:26:14 CEST 2005
Max Horn wrote:
> Hi folks,
>
> I am toying with the thought of just completely removing support for
> setting a debug level in the config file.
>
> There seems to be no good reason for this feature in the first place; we
> mostly do it because we can, I think. However, that causes some headache
> in the code when it tries to keep the global gDebugLevel in sync with
> the value stored in the config manager (we have to store it in a global
> due to speed reasons, otherwise using debug() extensively, as we
> currently do, would slow us down to a crawl).
> In all the times I work on ScummVM, I have used debug levels a lot, but
> I always set them via the command line (-d), never ever did I set it via
> the config file, nor did I ever have any desire for it. I tried hard and
> can't think of any scenario were being able to do that would have
> offered me any benefit...
>
> So, if anybody has some realistic scenario (or even better, a real
> experience) were setting the debuglevel via the config file is/was/would
> be useful, please tell me. Otherwise, I'll just remove this (mis)feature
> ASAP.
>
>
I use it in the configuration file because it's easier to modify this
than to create a WinCE shortcut if I want to print debug informations in
the release build, but I can live without it :)
Cheers
Nicolas
More information about the Scummvm-devel
mailing list