diff options
Diffstat (limited to 'sca-cpp/trunk/kernel/value.hpp')
-rw-r--r-- | sca-cpp/trunk/kernel/value.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sca-cpp/trunk/kernel/value.hpp b/sca-cpp/trunk/kernel/value.hpp index 886897f20f..3b0e9beb73 100644 --- a/sca-cpp/trunk/kernel/value.hpp +++ b/sca-cpp/trunk/kernel/value.hpp @@ -40,12 +40,10 @@ namespace tuscany { -#ifdef WANT_MAINTAINER_MODE +#ifdef WANT_MAINTAINER_COUNTERS /** - * Debug utilities. Counters used to track instances of values, and - * macro used to write the contents of a value in a string, easier to - * watch in a debugger than the value itself. + * Debug utilities. Counters used to track instances of values */ long int countValues = 0; long int countEValues = 0; @@ -79,6 +77,11 @@ bool printValueCounters() { #ifdef WANT_MAINTAINER_WATCH +/** + * Debug utilities. Macro used to write the contents of a value to + * a string, easier to watch in a debugger than the value itself. + */ + #define debug_watchValue() do { \ this->watch = watchValue(*this); \ } while (0) |