Skip to content

Do the threads returned by a ThreadsHandler need to be real threads? #566

Closed
@rjmholt

Description

@rjmholt

Today, a ThreadsHandler returns a Container<System.Threading.Thread> and debugger events send through the ID of the affected thread.

In a world where most of our backend is async we don't really have a specific thread for anything we're debugging (in PowerShell we technically do, but it's kind of hard to get to).

So if we want to send back a thread through the ThreadsHandler, the easiest thing to do is to create a dummy thread object to represent the debugged thread -- but if that's the case, we might be better off with an O#-defined object to represent a thread.

Today we send back an empty container and always set AllThreadsStopped and AllThreadsContinued, but that might not be a good way to go...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions