• Stefan Reif's avatar
    Improve debugging · 8feafea4
    Stefan Reif authored
    - add debug domains which enable multiple debugging statements
      collectively
    - add a debug domain DEBUG_ALL which enables all debugging messages
    - print the debug domain in the debug message
    - add some debug statements
    - enable some domains
    
    To print the domain, the debug() macro converts the domain into a
    string and adds the value 6 to skip the "DEBUG_" prefix.
    8feafea4