mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Restricting evaluate errors for hover context
This commit is contained in:
parent
308eec2178
commit
405273983a
1 changed files with 2 additions and 1 deletions
|
|
@ -524,6 +524,7 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
supportsConditionalBreakpoints=True,
|
||||
supportsSetVariable=True,
|
||||
supportsExceptionOptions=True,
|
||||
supportsEvaluateForHovers=True,
|
||||
exceptionBreakpointFilters=[
|
||||
{
|
||||
'filter': 'raised',
|
||||
|
|
@ -777,7 +778,7 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
xml = untangle.parse(resp_args).xml
|
||||
xvar = xml.var
|
||||
|
||||
if xvar['isErrorOnEval']=='True':
|
||||
if args['context'] == 'hover' and xvar['isErrorOnEval']=='True':
|
||||
self.send_response(
|
||||
request,
|
||||
result=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue