From 463cf1cf9cb6d26a5271cc21b0d496f2280f578c Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 19 Aug 2015 13:41:19 +1000 Subject: Add PBD::DebugBit for debugging issues with undo history --- libs/pbd/debug.cc | 1 + libs/pbd/pbd/debug.h | 1 + 2 files changed, 2 insertions(+) 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; -- cgit v1.2.3