MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / request_reload_code

Method request_reload_code

_pydevd_bundle/pydevd_api.py:316–325  ·  view source on GitHub ↗

:param seq: if -1 no message will be sent back when the reload is done. Note: either module_name or filename may be None (but not both at the same time).

(self, py_db, seq, module_name, filename)

Source from the content-addressed store, hash-verified

314 sys.stderr.write("Can't set next statement in tasklet: %s\n" % (thread_id,))
315
316 def request_reload_code(self, py_db, seq, module_name, filename):
317 """
318 :param seq: if -1 no message will be sent back when the reload is done.
319
320 Note: either module_name or filename may be None (but not both at the same time).
321 """
322 thread_id = "*" # Any thread
323 # Note: not going for the main thread because in this case it'd only do the load
324 # when we stopped on a breakpoint.
325 py_db.post_method_as_internal_command(thread_id, internal_reload_code, seq, module_name, filename)
326
327 def request_change_variable(self, py_db, seq, thread_id, frame_id, scope, attr, value):
328 """

Callers 2

cmd_reload_codeMethod · 0.80
_on_runMethod · 0.80

Calls 1

Tested by

no test coverage detected