diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-08-19 13:41:19 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-08-19 13:56:06 +1000 |
commit | 463cf1cf9cb6d26a5271cc21b0d496f2280f578c (patch) | |
tree | afce9d4b43983500281d75adde1c2e6acfd6d4a0 /libs/pbd | |
parent | f36f03fcb4c36b5ef29843e60d1214c6ee4edb31 (diff) |
Add PBD::DebugBit for debugging issues with undo history
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/debug.cc | 1 | ||||
-rw-r--r-- | libs/pbd/pbd/debug.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc index b42e7f047e..acfca82b05 100644 --- a/libs/pbd/debug.cc +++ b/libs/pbd/debug.cc @@ -53,6 +53,7 @@ DebugBits PBD::DEBUG::EventLoop = PBD::new_debug_bit ("eventloop"); DebugBits PBD::DEBUG::AbstractUI = PBD::new_debug_bit ("abstractui"); DebugBits PBD::DEBUG::FileUtils = PBD::new_debug_bit ("fileutils"); DebugBits PBD::DEBUG::Configuration = PBD::new_debug_bit ("configuration"); +DebugBits PBD::DEBUG::UndoHistory = PBD::new_debug_bit ("undohistory"); /* 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 cc3fbdcf55..3e23af009c 100644 --- a/libs/pbd/pbd/debug.h +++ b/libs/pbd/pbd/debug.h @@ -55,6 +55,7 @@ namespace PBD { LIBPBD_API extern DebugBits AbstractUI; LIBPBD_API extern DebugBits Configuration; LIBPBD_API extern DebugBits FileUtils; + LIBPBD_API extern DebugBits UndoHistory; LIBPBD_API extern DebugBits BackendMIDI; LIBPBD_API extern DebugBits BackendAudio; |