professionally, we had a 32-bit (or larger) debug flags and used each bit to enable debug in various modules.
in a java application, i'm creating either global dbg variables for an entire class or a dbg variable within a function. Of course a class can use a dbg flag with bit fields to enable various debugging
what is a common way for enabling debugging within various classes from some global context (e.g. main())?
1 post - 1 participant