Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InitializedEvent before InitializeResponse #161

Open
GniLudio opened this issue Feb 1, 2024 · 0 comments
Open

InitializedEvent before InitializeResponse #161

GniLudio opened this issue Feb 1, 2024 · 0 comments
Labels

Comments

@GniLudio
Copy link

GniLudio commented Feb 1, 2024

The Debug Adapter Protocol specifies that InitializedEvent occurs after the InitializeRequest has returned: Initialized Event

adapters sends initialized event (after the initialize request has returned)

But that's not the case for the Netcoredbg, as you can see in the logs:

-> (C) {"type":"request","command":"initialize","arguments":{"pathFormat":"path","clientID":"vscode","clientName":"Visual Studio Code","adapterID":"coreclr","locale":"en","linesStartAt1":true,"columnsStartAt1":true},"seq":1}
<- (E) {"body":{"capabilities":{"exceptionBreakpointFilters":[{"filter":"all","label":"all"},{"filter":"user-unhandled","label":"user-unhandled"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsExceptionOptions":false,"supportsFunctionBreakpoints":true,"supportsSetExpression":true,"supportsSetVariable":true,"supportsTerminateRequest":true}},"event":"capabilities","seq":"1","type":"event"}
<- (E) {"body":{},"event":"initialized","seq":"2","type":"event"}
<- (R) {"body":{"exceptionBreakpointFilters":[{"filter":"all","label":"all"},{"filter":"user-unhandled","label":"user-unhandled"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsExceptionOptions":false,"supportsFunctionBreakpoints":true,"supportsSetExpression":true,"supportsSetVariable":true,"supportsTerminateRequest":true},"command":"initialize","request_seq":1,"seq":"3","success":true,"type":"response"}
@viewizard viewizard added the bug label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants