File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ class Debugger:
292292 "inspectVariables" ,
293293 "richInspectVariables" ,
294294 "modules" ,
295- "copyToGlobals"
295+ "copyToGlobals" ,
296296 ]
297297
298298 def __init__ (
@@ -639,7 +639,7 @@ async def copyToGlobals(self, message):
639639 "arguments" : {
640640 "expression" : expression ,
641641 "value" : src_var_name ,
642- "frameId" : src_frame_id
642+ "frameId" : src_frame_id ,
643643 },
644644 }
645645 )
Original file line number Diff line number Diff line change @@ -320,11 +320,9 @@ def my_test():
320320 while msg .get ("msg_type" ) != "debug_event" or msg ["content" ].get ("event" ) != "stopped" :
321321 msg = kernel_with_debug .get_iopub_msg (timeout = TIMEOUT )
322322
323- stacks = wait_for_debug_request (
324- kernel_with_debug ,
325- "stackTrace" ,
326- {"threadId" : 1 }
327- )["body" ]["stackFrames" ]
323+ stacks = wait_for_debug_request (kernel_with_debug , "stackTrace" , {"threadId" : 1 })["body" ][
324+ "stackFrames"
325+ ]
328326
329327 # Get local frame id
330328 frame_id = stacks [0 ]["id" ]
@@ -341,11 +339,9 @@ def my_test():
341339 )
342340
343341 # Get the scopes
344- scopes = wait_for_debug_request (
345- kernel_with_debug ,
346- "scopes" ,
347- {"frameId" : frame_id }
348- )["body" ]["scopes" ]
342+ scopes = wait_for_debug_request (kernel_with_debug , "scopes" , {"frameId" : frame_id })["body" ][
343+ "scopes"
344+ ]
349345
350346 # Get the local variable
351347 locals_ = wait_for_debug_request (
You can’t perform that action at this time.
0 commit comments