MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / luaG_traceexec

Function luaG_traceexec

CPPScripts/External/Lua/ldebug.c:874–917  ·  view source on GitHub ↗

** Traces the execution of a Lua function. Called before the execution ** of each opcode, when debug is on. 'L->oldpc' stores the last ** instruction traced, to detect line changes. When entering a new ** function, 'npci' will be zero and will test as a new line whatever ** the value of 'oldpc'. Some exceptional conditions may return to ** a function without setting 'oldpc'. In that case, 'oldpc'

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lvm.cFile · 0.85

Calls 4

luaD_hookFunction · 0.85
changedlineFunction · 0.85
luaG_getfunclineFunction · 0.85
luaD_throwFunction · 0.85

Tested by

no test coverage detected