eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
582 stars 141 forks source link

Implement default behavior for stepIn and stepOut to nextStep #743

Closed apupier closed 5 months ago

apupier commented 1 year ago

Based on specification for Step In, If the request cannot step into a target, stepIn behaves like the next request..

Currently, by default the IDebugProtocolServer.stepIn method is throwing an UnsupportedOperationException

I think it could be convenient that it redirect to nextStep by default so that the specification is fulfilled immediately without the client required to implement it

jonahgraham commented 5 months ago

Please see my comment on the associated PR https://github.com/eclipse-lsp4j/lsp4j/pull/744#issuecomment-1778058253

For the same reasons I am closing this issue.