mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
a couple of debug output statements to help diagnose a crash
This commit is contained in:
parent
2e96b62a1e
commit
e91a0f7e11
1 changed files with 4 additions and 0 deletions
|
|
@ -1006,12 +1006,16 @@ WaveView::generate_image (boost::shared_ptr<WaveViewThreadRequest> req, bool in_
|
||||||
} else {
|
} else {
|
||||||
draw_absent_image (req->image, peaks.get(), n_peaks);
|
draw_absent_image (req->image, peaks.get(), n_peaks);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
cerr << "Request stopped before image generation\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in_render_thread && !req->should_stop()) {
|
if (in_render_thread && !req->should_stop()) {
|
||||||
DEBUG_TRACE (DEBUG::WaveView, string_compose ("done with request for %1 at %2 CR %3 req %4 range %5 .. %6\n", this, g_get_monotonic_time(), current_request, req, req->start, req->end));
|
DEBUG_TRACE (DEBUG::WaveView, string_compose ("done with request for %1 at %2 CR %3 req %4 range %5 .. %6\n", this, g_get_monotonic_time(), current_request, req, req->start, req->end));
|
||||||
const_cast<WaveView*>(this)->ImageReady (); /* emit signal */
|
const_cast<WaveView*>(this)->ImageReady (); /* emit signal */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cerr << "Generate image done, image = " << req->image << endl;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue