[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-XBoard] [bug #27760] debug printf in backend.c
From: |
Eric Mullins |
Subject: |
[Bug-XBoard] [bug #27760] debug printf in backend.c |
Date: |
Tue, 20 Oct 2009 09:55:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 |
Follow-up Comment #2, bug #27760 (project xboard):
I recently had exposure to this and formed one thought: why not design the
debug facility so that it is not necessary to always check for
appData.debugMode?
That extra check really uglifies the code. At least for the GTK version we
ought to simply have it become a call that operates peroperly based on if
-debug was passed or not. Plus, as this bug report notes, it's easy enough to
leave behind a buggy call to the debugging system. It's horrid as is.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27760>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/