diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 22:02:03 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 22:02:03 +0000 |
commit | c8e5e9d42566fc6ff9ce20434397263d3d817b88 (patch) | |
tree | f1bbebef47fca6ba1482e1fc220ba0fcd9067ac0 /libs/ardour/session_events.cc | |
parent | 4071286bfa6bf4d1c3c5ab145df3fe98c88e2d6a (diff) |
actual debug stracktrace added
git-svn-id: svn://localhost/ardour2/branches/3.0@9045 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r-- | libs/ardour/session_events.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<SessionEvent*> (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); } |