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

Function fire_py_resume

crates/vm/src/stdlib/sys/monitoring.rs:821–829  ·  view source on GitHub ↗
(vm: &VirtualMachine, code: &PyRef<PyCode>, offset: u32)

Source from the content-addressed store, hash-verified

819}
820
821pub fn fire_py_resume(vm: &VirtualMachine, code: &PyRef<PyCode>, offset: u32) -> PyResult<()> {
822 fire(
823 vm,
824 EVENT_PY_RESUME,
825 code,
826 offset,
827 &[vm.ctx.new_int(offset).into()],
828 )
829}
830
831pub fn fire_py_return(
832 vm: &VirtualMachine,

Callers 1

execute_instrumentedMethod · 0.85

Calls 2

fireFunction · 0.85
new_intMethod · 0.45

Tested by

no test coverage detected