Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

probe.cancel

Take a probe off the running code, or take all of them off.

probe.cancel("prb_1")
probe.cancel("all")

Detaching restores what the probe replaced: a wrapped function is put back, a patched line is unpatched, a per-frame read stops.

Nothing about a probe survives the engine stopping, so a forgotten one costs only this session. It is still worth cancelling: a probe still armed on a hot path is still doing work, and a line probe holds its function out of native code until that script reloads.