On 4/24/11, Per Inge Mathisen <xxxxxxx...@gmail.com> wrote:
> On Sun, Apr 24, 2011 at 6:36 AM, buginator <xxxxxxx...@gmail.com> wrote:
>> Unless there are any objections, I plan to demote ASSERT_FAILURE() to
>> use LOG_INFO instead of LOG_ERROR.
>>
>> The main reason for this is that LOG_ERROR is meant for serious
>> errors, and all LOG_ERRORs are echoed to the in game console on all
>> platforms.
>> LOG_INFO is still on in both debug & release builds.
>> The other option is LOG_WARNING, which is only enabled in debug builds.
>>
>> Objections ?
>
> I thought an assert error was a serious error. At least  most serious
> error nowadays are reported in the form of an assert(_or_return).
>
> Maybe we should remove some asserts and / or fix some bugs instead?
>

There is a difference between when we get those errors, and the end-user.
We don't dump any useful information most of the time, and the only
way to see what is going on is have a deep stack dump along with all
vars.

As Kreuvf pointed out, having a log with a bunch of asserts really
does not help us do anything, since we can't replicate it, and even if
we can replicate it, some of those can't easily be fixed since they
happen in the gamestate before the current one, and we don't have a
stack dump that goes that far back.

In short, we have asserts that fire, and we *know* there is a issue,
but can't get at that issue for multiple reasons.  No need to spam the
in-game console with assert messages.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to