mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Checks for isErrorOnEval before responding to evaluate requests
This commit is contained in:
parent
71403c1c8f
commit
308eec2178
1 changed files with 7 additions and 0 deletions
|
|
@ -777,6 +777,13 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
xml = untangle.parse(resp_args).xml
|
||||
xvar = xml.var
|
||||
|
||||
if xvar['isErrorOnEval']=='True':
|
||||
self.send_response(
|
||||
request,
|
||||
result=None,
|
||||
variablesReference=0)
|
||||
return
|
||||
|
||||
pyd_var = (pyd_tid, pyd_fid, 'EXPRESSION', expr)
|
||||
vsc_var = self.var_map.to_vscode(pyd_var, autogen=True)
|
||||
response = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue