Bug 430948 - Add support for pthread_setname_np to the "Frame stack/Threads" tool-view.
Summary: Add support for pthread_setname_np to the "Frame stack/Threads" tool-view.
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (show other bugs)
Version: 5.6.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-29 17:38 UTC by Jason McGuiness
Modified: 2020-12-29 17:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason McGuiness 2020-12-29 17:38:38 UTC
SUMMARY
It would be *extremely* useful if support for "pthread_setname_np()" were added to the "Threads" edit-box in the "Frame stack" tool-view. Note that gdb supports this with "info threads".

Asides:
1. "Frame stack": this is oddly named: surely it should be called "Stack frame" in English?
2. The "Threads" edit-box could do with some columns for the thread id, thread name and current function.
3. I'd like to see more than one stack-frame at a time. This design prevents me.

STEPS TO REPRODUCE
1. Start debugging a program.
2. Interrupt the program.
3. Open the "Frame stack" (sic) tool-view. Observe the lack of thread names in the "Threads" edit-box.
4. Go to the "GDB" tool-view and enter the command "info threads". Observe the thread names.

OBSERVED RESULT
No thread names in "Frame stack/Threads".

EXPECTED RESULT
The thread names in the same edit box.

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Gentoo GNU/Linux v2.7
(available in About System)
KDE Plasma Version: n/a - using XFCE
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1 (built against 5.15.1)

ADDITIONAL INFORMATION
See also bug https://bugs.kde.org/show_bug.cgi?id=393182