Skip to content

Support for avoiding source focus in "stopped" events #525

@NipunaRanasinghe

Description

@NipunaRanasinghe

We have implemented a debug adapter for the Ballerina language and, we have a requirement to avoid the automatic focus on the source file that contains the debug hit when a "stopped" event occurs while retaining the ability to display variables and other debug-related information in the LHS debug panel.

We already tried using the preserveFocusHint flag in the "stopped" event, but this flag not only avoids opening the source file but also disables the display of variables in the left-hand side (LHS) debug panel.

Is there a recommended way to achieve this functionality with the current Debug Adapter Protocol (DAP) specification?
If not, can this feature be considered for future versions of the protocol?

Metadata

Metadata

Assignees

Labels

under-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions