Skip to content

set native thread name for the debugger #13022

Closed

Description

@thestinger

On Linux, this can be done with pthread_setname_np. The maximum length for the name is 16 (really 15, since it ends with a zero byte) so it needs to be truncated. The threads will then show their given name in info threads. This makes debugging so much easier.

Activity

  1. jdm commented on Mar 20, 2014

    @jdm
    Contributor

    This is basically #10302.

  2. added 2 commits that reference this issue on Dec 4, 2023
    4ca86ed
    c9d189d
  3. added 2 commits that reference this issue on May 26, 2024
    7b54c82
    56d77b9
  4. added a commit that references this issue on Jul 29, 2024
    c2cb6e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions