We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
null
None
Server returns:
{ "seq": 20, "type": "response", "request_seq": 11, "success": true, "command": "evaluate", "body": { "result": null, "variablesReference": 0, "presentationHint": {} } }
{ "seq": 20, "type": "response", "request_seq": 11, "success": true, "command": "evaluate", "body": { "result": "None", "variablesReference": 0, "presentationHint": {} } }
In the specification the EvaluateResponse has result: string. (Not nullable, not optional).
EvaluateResponse
result: string
Create a file with:
x = None print(x)
Set a breakpoint at print(x) and trigger a evaluate request with expression = x and context = 'repl'.
print(x)
evaluate
expression = x
context = 'repl'
The text was updated successfully, but these errors were encountered:
When evaluating to None in repl provide empty string instead of null. F…
6162329
…ixes microsoft#985
761bace
No branches or pull requests
Environment data
Actual behavior
Server returns:
Expected behavior
In the specification the
EvaluateResponse
hasresult: string
. (Not nullable, not optional).Steps to reproduce:
Create a file with:
Set a breakpoint at
print(x)
and trigger aevaluate
request withexpression = x
andcontext = 'repl'
.The text was updated successfully, but these errors were encountered: