diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-16 19:17:45 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-16 19:17:45 +0000 |
commit | dad0671ba04d5c8151fbc448f3e35243f28c87c7 (patch) | |
tree | d90ade1b37ae603981a8d5df32b3a5011abacc91 | |
parent | 64abea1db27bc51f13e6fd9ca3f0e23954729993 (diff) |
Add dynamic type to SessionHandleRef debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@8516 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/session_handle.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/session_handle.cc b/libs/ardour/session_handle.cc index 14ba994dc3..f36fff4785 100644 --- a/libs/ardour/session_handle.cc +++ b/libs/ardour/session_handle.cc @@ -17,6 +17,7 @@ */ +#include "pbd/demangle.h" #include "pbd/error.h" #include "pbd/boost_debug.h" @@ -82,5 +83,9 @@ SessionHandleRef::session_going_away () void SessionHandleRef::insanity_check () { - cerr << string_compose (_("programming error: %1"), "SessionHandleRef exists across sesssion deletion!") << endl; + cerr << string_compose ( + _("programming error: %1"), + string_compose("SessionHandleRef exists across sesssion deletion! Dynamic type: %1", + PBD::demangled_name (*this))) + << endl; } |