Add PBD::DEBUG::StringConvert debug bit

This is for debugging errors with string conversion for cases where errors
aren't handled
This commit is contained in:
Tim Mayberry 2015-08-16 22:02:27 +10:00
parent 58726cedf8
commit 78b82b7ff2
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 */