summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-08-16 22:02:27 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-16 14:02:41 +1000
commit78b82b7ff2e28d53faae176776491404115ce02c (patch)
treecd4394b880d0a2e165d388c9110afc4b6a6c269e /libs
parent58726cedf8c683a220fc0204f30e8ac96c33865b (diff)
Add PBD::DEBUG::StringConvert debug bit
This is for debugging errors with string conversion for cases where errors aren't handled
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/debug.cc1
-rw-r--r--libs/pbd/pbd/debug.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc
index 419c5bfb37..049ac9efa7 100644
--- a/libs/pbd/debug.cc
+++ b/libs/pbd/debug.cc
@@ -57,6 +57,7 @@ DebugBits PBD::DEBUG::UndoHistory = PBD::new_debug_bit ("undohistory");
DebugBits PBD::DEBUG::Timing = PBD::new_debug_bit ("timing");
DebugBits PBD::DEBUG::Threads = PBD::new_debug_bit ("threads");
DebugBits PBD::DEBUG::Locale = PBD::new_debug_bit ("locale");
+DebugBits PBD::DEBUG::StringConvert = PBD::new_debug_bit ("stringconvert");
/* These are debug bits that are used by backends. Since these are loaded dynamically,
after command-line parsing, defining them in code that is part of the backend
diff --git a/libs/pbd/pbd/debug.h b/libs/pbd/pbd/debug.h
index 8db198e82e..ddb41675f7 100644
--- a/libs/pbd/pbd/debug.h
+++ b/libs/pbd/pbd/debug.h
@@ -59,6 +59,7 @@ namespace PBD {
LIBPBD_API extern DebugBits Timing;
LIBPBD_API extern DebugBits Threads;
LIBPBD_API extern DebugBits Locale;
+ LIBPBD_API extern DebugBits StringConvert;
/* See notes in ../debug.cc on why these are defined here */