Skip to content

Explicitly set thread ID when getting stack depth #451

@jreineckearm

Description

@jreineckearm

Found by @jonahgraham during code review:

We have a couple of calls to mi.sendStackInfoDepth which do not receive a threadId parameter although we have the knowledge in the surrounding code.

This should in theory be fine because the affected functionality is always executed on the currently selected thread. Which should be correctly selected in GDB. But we should make use of exact knowledge when we have it, like for most of these calls. Especially if there is a lot going on in the GUI which could change the thread selection while operations are in flight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions