Skip to content

Update DebugRequestTypes to reflect DAP changes#9833

Merged
colin-grant-work merged 1 commit intomasterfrom
feature/update-DAP
Aug 5, 2021
Merged

Update DebugRequestTypes to reflect DAP changes#9833
colin-grant-work merged 1 commit intomasterfrom
feature/update-DAP

Conversation

@colin-grant-work
Copy link
Contributor

@colin-grant-work colin-grant-work commented Aug 3, 2021

What it does

This PR updates the Theia types used to reflect Debug Adapter Protocol types. There have been some updates around which UI may need to be built, but in the meantime, this at least allows adopters / extension writers to write code for the new requests and events without running afoul of our type declarations. At the moment something like session.sendRequest('readMemory', ...) is treated as an error because we just haven't declared that possibility.

How to test

If it builds, then we're referring to real things in the DAP.

Review checklist

Reminder for reviewers

Signed-off-by: Colin Grant colin.grant@ericsson.com

Signed-off-by: Colin Grant <colin.grant@ericsson.com>
@colin-grant-work colin-grant-work added dap debug adapter protocol debug issues that related to debug functionality labels Aug 3, 2021
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed it looks correct based on the DAP specifications:

@colin-grant-work colin-grant-work merged commit 5907062 into master Aug 5, 2021
@colin-grant-work colin-grant-work deleted the feature/update-DAP branch August 5, 2021 17:11
@github-actions github-actions bot added this to the 1.17.0 milestone Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dap debug adapter protocol debug issues that related to debug functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants