MCPcopy Index your code
hub / github.com/RustPython/RustPython / runcall

Method runcall

Lib/bdb.py:947–962  ·  view source on GitHub ↗

Debug a single function call. Return the result of the function call.

(self, func, /, *args, **kwds)

Source from the content-addressed store, hash-verified

945 # This method is more useful to debug a single function call.
946
947 def runcall(self, func, /, *args, **kwds):
948 """Debug a single function call.
949
950 Return the result of the function call.
951 """
952 self.reset()
953 self.start_trace()
954 res = None
955 try:
956 res = func(*args, **kwds)
957 except BdbQuit:
958 pass
959 finally:
960 self.quitting = True
961 self.stop_trace()
962 return res
963
964
965def set_trace():

Callers 15

runcallFunction · 0.80
run_testFunction · 0.80
test_stepMethod · 0.80
test_stepinstrMethod · 0.80
test_nextMethod · 0.80
test_next_over_importMethod · 0.80
test_returnMethod · 0.80
test_untilMethod · 0.80

Calls 4

resetMethod · 0.95
start_traceMethod · 0.95
stop_traceMethod · 0.95
funcFunction · 0.50

Tested by 15

run_testFunction · 0.64
test_stepMethod · 0.64
test_stepinstrMethod · 0.64
test_nextMethod · 0.64
test_next_over_importMethod · 0.64
test_returnMethod · 0.64
test_untilMethod · 0.64