-
Notifications
You must be signed in to change notification settings - Fork 286
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
Added missing documentation for the inspectVariables request and resp… #649
Conversation
@@ -1137,7 +1141,7 @@ In order to support page reloading, or a client connecting at a later stage, Jup | |||
'command' : 'debugInfo' | |||
} | |||
|
|||
Content of `debugInfo` response:: | |||
Content of the `debugInfo` response:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should get rid of the two-space indentation here, and in other places too:
Content of the `debugInfo` response:: | |
Content of the `debugInfo` response:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you look at the generated doc, this allwos to easily identify the different messages added to the spec. I think we should either keep this indentation, or add subsections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add subsections
Yes maybe as a bullet list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this reformating part in a dedicated PR since the indentation was here before. We really need to move on and merge this one since we have more fields to add in some messages.
@@ -1160,6 +1164,32 @@ In order to support page reloading, or a client connecting at a later stage, Jup | |||
|
|||
The `source_breakpoint` schema is specified by the Debug Adapter Protocol. | |||
|
|||
The `inspectVariables` is meant to retrieve the values of all the variables that have been defined in the notebook. It is a DAP `Request` with no extra argument. | |||
|
|||
Content of the `inspectVariables` request:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
'command' : 'inspectVariables' | ||
} | ||
|
||
Content of the `inspectVariables` response:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
Thanks @davidbrochart ! |
…onse
Notice that this is not a new message to the protocol, but missing documentation for a message the has been part of the debugging protocol in Jupyter since the beginning.