From f871d665d59e3b95f9d47a80e5caead15d9a705b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 29 Oct 2011 15:52:38 +0000 Subject: tweaks to boost debug related code, from a boost debugging session git-svn-id: svn://localhost/ardour2/branches/3.0@10336 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/panner.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libs/ardour/panner.cc') diff --git a/libs/ardour/panner.cc b/libs/ardour/panner.cc index a182f0b99c..0713e48fe5 100644 --- a/libs/ardour/panner.cc +++ b/libs/ardour/panner.cc @@ -17,6 +17,8 @@ */ +#include "pbd/boost_debug.h" + #include "ardour/audio_buffer.h" #include "ardour/buffer_set.h" #include "ardour/debug.h" @@ -31,13 +33,14 @@ using namespace std; using namespace ARDOUR; Panner::Panner (boost::shared_ptr p) - : _pannable (p) { + // boost_debug_shared_ptr_mark_interesting (this, "panner"); + _pannable = p; } Panner::~Panner () { - DEBUG_TRACE(PBD::DEBUG::Destruction, string_compose ("panner @ %1 destructor, pannable is %2\n", this, _pannable)); + DEBUG_TRACE(PBD::DEBUG::Destruction, string_compose ("panner @ %1 destructor, pannable is %2 @ %3\n", this, _pannable, &_pannable)); } XMLNode& -- cgit v1.2.3