In order to get information about a function invocation, the factor ar must certanly be a valid activation record that has been overflowing by a previous phone call to lua_getstack or provided as debate to a hook (see lua_Hook ).
To obtain information on a work you press they onto the pile and start the what sequence aided by the fictional character ‘ > ‘. (Therefore, lua_getinfo pops the big event inside the top of bunch.) As an example, to know wherein range a function f had been explained, you are able to create these signal:
- ‘ n ‘: fills on the go label and namewhat ;
- ‘ S ‘: fills into the sphere supply , short_src , linedefined , lastlinedefined , and just what ;
- ‘ l ‘: fills on the go currentline ;
- ‘ u ‘: fills on the go nups ;
- ‘ f ‘: forces on the stack the function definitely run on provided amount;
- ‘ L ‘: forces onto the heap a dining table whose indices include amounts of the outlines which are legitimate on features. (a legitimate line is a line with some related dating Professional rule, definitely, a line where you are able to placed some slack point. Continue reading Has details about a regional diverse of confirmed activation record