mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Log Thread-name in stacktrace
This commit is contained in:
parent
3fbfe72fa9
commit
f7b826841b
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ PBD::stacktrace (std::ostream& out, int levels, int start)
|
|||
size = backtrace (array, 200);
|
||||
|
||||
if (size && size >= start) {
|
||||
if (start == 0) {
|
||||
out << "-- Stacktrace Thread: " << pthread_name () << std::endl;
|
||||
}
|
||||
strings = backtrace_symbols (array, size);
|
||||
|
||||
if (strings) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue