Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15317

How to pass debug option to class?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 15317

Trending Articles