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
Clarify documentation on when and where the 'text' for StoppedEvent shows up in the UI #104475
Comments
@polinasok the DAP spec does not know what exact UI a DAP client uses. So the description of the "text" property is accurate. @isidorn where does VS Code show the "text" property? Is it on hover? |
It is shown on the hover of the "PAUSED ON EXCEPTION" element.
|
FYI when debugging javascript, I couldn't hover of the |
I've moved the issue to VS Code because the discussion has revealed a VS Code implementation issue. |
Ok. I will make the change as I suggested above, hover over the whole Session element will show the text if adapter provided it. |
@isidorn any additional insights? |
Insiders with my fix is not yet released. Please try this out with VS Code insiders from tomorrow or next week. |
My goal is to implement a StoppedEvent when a go program stops due to a segfault. I am considering setting the event's reason to 'exception' or maybe something more custom, but in either case I need a way to report the detailed error to the user. The spec says
I am setting 'text' in the event I send to the client:
But I do not see it displayed anywhere in the UI, including when I hover as suggested in #3101
Is this feature still operational? Should it work with any reason? Where should it appear? The only related issue I found is #63416, which suggests that this feature worked a while back, but doesn't offer any screenshots with the details.
The text was updated successfully, but these errors were encountered: