mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Merge pull request #77 from DonJayamanne/optionalArgsInStackRequest
Ensure stackFrame and levels in stack request are optional
This commit is contained in:
commit
c6c84918cf
1 changed files with 2 additions and 2 deletions
|
|
@ -518,8 +518,8 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
def on_stackTrace(self, request, args):
|
||||
# TODO: docstring
|
||||
tid = int(args['threadId'])
|
||||
startFrame = int(args['startFrame'])
|
||||
levels = int(args['levels'])
|
||||
startFrame = int(args.get('startFrame', 0))
|
||||
levels = int(args.get('levels', 0))
|
||||
|
||||
tid = self.thread_map.to_pydevd(tid)
|
||||
with self.stack_traces_lock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue