Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Adding Debugging to PTP code

What technique should I be using to add debugging code that stays in the source but is disabled until needed? Can you point me to a sample in PTP which shows the recommended approach. My old tried and true technique was to have a private static final boolean DEBUG, and code surrounded by if (DEBUG), but that's pretty old-school. Thanks, Bri


Back to the top