Skip to content

Don't send evaluate requests to debug sessions that are not rdbg #505

@davidanthoff

Description

@davidanthoff

I believe

await session.customRequest("evaluate", args);
ends up sending that evaluate request to any debug session, even completely different language ones. We are seeing this in the Julia extension now, that Julia debug sessions receive that evaluate request.

I believe the correct thing to do here is to check whether the debug session is actually one handled by vscode-rdbg and then only send this evaluate request to those sessions and leave all the other sessions alone.

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