ruby/vscode-rdbg

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

Opened this issue · 0 comments

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.