mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Addressing comments
This commit is contained in:
parent
28ef26dd0b
commit
a43eae9822
1 changed files with 1 additions and 5 deletions
|
|
@ -549,11 +549,7 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
line = src_bp['line']
|
||||
vsc_bpid = self.bp_map.add(
|
||||
lambda vsc_bpid: (path, vsc_bpid))
|
||||
try:
|
||||
condition = src_bp['condition']
|
||||
msg = msgfmt.format(vsc_bpid, path, line, condition)
|
||||
except KeyError:
|
||||
msg = msgfmt.format(vsc_bpid, path, line, 'None')
|
||||
msg = msgfmt.format(vsc_bpid, path, line, src_bp.get('condition', None))
|
||||
self.pydevd_notify(cmd, msg)
|
||||
bps.append({
|
||||
'id': vsc_bpid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue