Thinking about error levels a bit more. Should we always show a visible error message if you do something which is clearly a bug but might not cause a major problem? Maybe only in nightly builds? There's the risk that we mistakenly think a condition indicates a bug when it's either a non-bug error or not an error at all. We have lots of impossible looking stuff printed to c/g_debug.txt regularly, so I'd rather avoid having thousands of checks to pop up visible debug messages.
Also there ought to be error levels for showing a visible error but which don't encourage the user to immediately quit (they could still give the option if there are lots of errors in a row). On 27 January 2013 18:51, <[email protected]> wrote: > teeemcee > 2013-01-26 21:51:43 -0800 (Sat, 26 Jan 2013) > 455 > debugc now uses ErrorLevel/ErrorLevelEnum constants with different > definitions to before (mostly implemented this time) > > Also changed order of debugc's arguments, split fatal_error_shutdown > out from showerror, fixed a crash if showerror is called before > setmodex, and updated error levels in array.c and filelayer.cpp. > > I would like to start using debugc throughout the engine. The error > levels aren't set in stone; I'm not totally happy with them myself. > --- > U wip/allmodex.bas > U wip/allmodex.bi > U wip/array.c > U wip/common.bi > U wip/common.h > U wip/common.rbas > U wip/common_base.bas > U wip/common_base.bi > U wip/const.bi > U wip/filelayer.cpp > U wip/vectortest.bas > _______________________________________________ > Ohrrpgce mailing list > [email protected] > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
