Popular dating sites online

Has information regarding a regional variable of a given activation record

Has information regarding a regional variable of a given activation record

lua_getinfo

For information about a work invocation, the parameter ar needs to be a valid activation record that has been overflowing by a previous name to lua_getstack or considering as argument to a hook (see lua_Hook ).

To have information on a purpose your press it on the heap and start the what string because of the dynamics ‘ > ‘. (In this case, lua_getinfo pops the function into the the surface of the heap.) For instance, to know which line a function f was described, you’ll be able to write these rule:

  • ‘ letter ‘: fills in the field label and namewhat ;
  • ‘ S ‘: fills from inside the sphere resource , short_src , linedefined , lastlinedefined , and just what ;
  • ‘ l ‘: fills in the field currentline ;
  • ‘ u ‘: fills in the field nups ;
  • ‘ f ‘: forces onto the heap the event which operating on given levels;
  • ‘ L ‘: forces onto the pile a desk whoever indicator include numbers of the lines that are good throughout the work. (A valid range is actually a line with related rule, that will be, a line where you can put a break point. Non-valid outlines integrate vacant outlines and feedback.)

lua_getlocal

The factor ar should be a valid activation record that was stuffed by a past phone call to lua_getstack or provided as debate to a hook (discover lua_Hook ). The list letter selects which local variable to examine (1 will be the very first parameter or productive local variable, an such like, till the last productive regional changeable). lua_getlocal forces the variable’s value on the stack and comes back their identity.

Varying brands beginning with ‘ ( ‘ (open parentheses) signify inner variables (loop control variables, temporaries, and C work locals).

lua_getstack

This work fulfills elements of a lua_Debug build with a recognition with the activation record associated with the purpose executing at certain levels.