Debug hover: shows empty when hovering over bogus words
isidorn opened this issue ยท 2 comments
isidorn commented
Hi, VS Code dev here
- Have a python program and hover over some bogus words - like part of a string
- Debug hover appears with no content
- The issue here is that the python debug for
evaluate
of"This"
returns a successful response. I suggest that for evaluating bogus expressions the python debugger returns a response withsuccess = false
In this picture I am hovering over This
.
Related issue: have a bogus expression in the WATCH view. The value is a structured object, instead it shuold just be an error like in the debug console
fabioz commented
I think it's possible that this is this way because returning success=false
on some cases force-stopped the debugger on Visual Studio (but I think that this should be fixed now), so, returning success=false
should be ok at this point (but we should double-check with the Visual Studio team).
I created #2014 to address the issue related to the error as a str.
isidorn commented
Ok thanks.