debugging with markk: stacktrace on bank switch in mackie code
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 19:12:04 +0000 (20:12 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 19:12:04 +0000 (20:12 +0100)
libs/surfaces/mackie/mackie_control_protocol.cc

index 12bd02f4d3eaaa28b8d84d50be88ad3bccae5264..3038685f27cc9869560dcb0a877fc6ba2a1b92c8 100644 (file)
@@ -368,6 +368,7 @@ int
 MackieControlProtocol::switch_banks (uint32_t initial, bool force)
 {
        DEBUG_TRACE (DEBUG::MackieControl, string_compose ("switch banking to start at %1 force ? %2 current = %3\n", initial, force, _current_initial_bank));
+       PBD::stacktrace (cerr, 20);
 
        if (initial == _current_initial_bank && !force) {
                /* everything is as it should be */