From c8e5e9d42566fc6ff9ce20434397263d3d817b88 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 2 Mar 2011 22:02:03 +0000 Subject: actual debug stracktrace added git-svn-id: svn://localhost/ardour2/branches/3.0@9045 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_events.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/session_events.cc') diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc index f3f0ead3ae..68e39cd55f 100644 --- a/libs/ardour/session_events.cc +++ b/libs/ardour/session_events.cc @@ -62,7 +62,7 @@ SessionEvent::operator new (size_t) CrossThreadPool* p = pool->per_thread_pool (); SessionEvent* ev = static_cast (p->alloc ()); DEBUG_TRACE (DEBUG::SessionEvents, string_compose ("%1 Allocating SessionEvent from %2 ev @ %3\n", pthread_self(), p->name(), ev)); -#ifdef NDEBUG +#ifndef NDEBUG if (DEBUG::SessionEvents & PBD::debug_bits) { stacktrace (cerr, 20); } @@ -82,7 +82,7 @@ SessionEvent::operator delete (void *ptr, size_t /*size*/) pthread_self(), ev, p->name(), ev->own_pool->name() )); -#ifdef NDEBUG +#ifndef NDEBUG if (DEBUG::SessionEvents & PBD::debug_bits) { stacktrace (cerr, 20); } -- cgit v1.2.3