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

Function internal_smart_step_into

_pydevd_bundle/pydevd_comm.py:728–741  ·  view source on GitHub ↗
(py_db, thread_id, offset, child_offset, set_additional_thread_info)

Source from the content-addressed store, hash-verified

726
727
728def internal_smart_step_into(py_db, thread_id, offset, child_offset, set_additional_thread_info):
729 thread_to_step = pydevd_find_thread_by_id(thread_id)
730 if thread_to_step is not None:
731 info = set_additional_thread_info(thread_to_step)
732 info.pydev_original_step_cmd = CMD_SMART_STEP_INTO
733 info.pydev_step_cmd = CMD_SMART_STEP_INTO
734 info.pydev_step_stop = None
735 info.pydev_smart_parent_offset = int(offset)
736 info.pydev_smart_child_offset = int(child_offset)
737 info.pydev_state = STATE_RUN
738 info.update_stepping_info()
739
740 if py_db.stepping_resumes_all_threads:
741 resume_threads("*", except_thread=thread_to_step)
742
743
744class InternalSetNextStatementThread(InternalThreadCommand):

Callers

nothing calls this directly

Calls 4

pydevd_find_thread_by_idFunction · 0.90
resume_threadsFunction · 0.90
update_stepping_infoMethod · 0.80

Tested by

no test coverage detected