\hypertarget{ldebug_8c}{
\section{ldebug.c File Reference}
\label{ldebug_8c}\index{ldebug.c@{ldebug.c}}
}
{\tt \#include $<$stdarg.h$>$}\par
{\tt \#include $<$stddef.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}lua.h\char`\"{}}\par
{\tt \#include \char`\"{}lapi.h\char`\"{}}\par
{\tt \#include \char`\"{}lcode.h\char`\"{}}\par
{\tt \#include \char`\"{}ldebug.h\char`\"{}}\par
{\tt \#include \char`\"{}ldo.h\char`\"{}}\par
{\tt \#include \char`\"{}lfunc.h\char`\"{}}\par
{\tt \#include \char`\"{}lobject.h\char`\"{}}\par
{\tt \#include \char`\"{}lopcodes.h\char`\"{}}\par
{\tt \#include \char`\"{}lstate.h\char`\"{}}\par
{\tt \#include \char`\"{}lstring.h\char`\"{}}\par
{\tt \#include \char`\"{}ltable.h\char`\"{}}\par
{\tt \#include \char`\"{}ltm.h\char`\"{}}\par
{\tt \#include \char`\"{}lvm.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{ldebug_8c_2b6bdddfcfeef5c88fe82ef48697a640}{ldebug\_\-c}
\item 
\#define \hyperlink{ldebug_8c_bf0b3947b59218777a8e928a10be205b}{LUA\_\-CORE}
\item 
\#define \hyperlink{ldebug_8c_437fe6dda055faa9899b4268918b8032}{check}(x)~if (!(x)) return 0;
\item 
\#define \hyperlink{ldebug_8c_5a7b322872346ea6f00efe21ee19965a}{checkjump}(pt, pc)~check(0 $<$= pc \&\& pc $<$ pt $\rightarrow$ sizecode)
\item 
\#define \hyperlink{ldebug_8c_16636d18aebfaa0a204e1a139088e504}{checkreg}(pt, reg)~check((reg) $<$ (pt) $\rightarrow$ maxstacksize)
\item 
\#define \hyperlink{ldebug_8c_fb13853f4f0bbe220189b6fac17cec15}{checkopenop}(pt, pc)~luaG\_\-checkopenop((pt) $\rightarrow$ code\mbox{[}(pc)+1\mbox{]})
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static const char $\ast$ \hyperlink{ldebug_8c_bf0d60b43b4bff2821e87b2f4054a6b7}{getfuncname} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structCallInfo}{CallInfo} $\ast$ci, const char $\ast$$\ast$name)
\item 
static int \hyperlink{ldebug_8c_add6060aae54fd1b822345b8c58a86f5}{currentpc} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structCallInfo}{CallInfo} $\ast$ci)
\item 
static int \hyperlink{ldebug_8c_4c5c4ed4c8752d396af7ac41f74dad16}{currentline} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structCallInfo}{CallInfo} $\ast$ci)
\item 
LUA\_\-API int \hyperlink{ldebug_8c_664ce25a0c30d2c1b1e89e7ea25be7f0}{lua\_\-sethook} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_e9fa3596803178b98fa911d2ba0af0f4}{lua\_\-Hook} func, int mask, int count)
\item 
LUA\_\-API \hyperlink{lua_8h_e9fa3596803178b98fa911d2ba0af0f4}{lua\_\-Hook} \hyperlink{ldebug_8c_44b9923035977dcfa57279761f7379b4}{lua\_\-gethook} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{ldebug_8c_0b41dd9ab46652c8433b861f679fadb8}{lua\_\-gethookmask} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{ldebug_8c_18f065f752cfa08eefd338b4cbd7254b}{lua\_\-gethookcount} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{ldebug_8c_c1fc03c27ee46caa4037df2d70f22110}{lua\_\-getstack} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int level, \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar)
\item 
static \hyperlink{structProto}{Proto} $\ast$ \hyperlink{ldebug_8c_f9b48940a4b1206aa52487e903d2ba30}{getluaproto} (\hyperlink{structCallInfo}{CallInfo} $\ast$ci)
\item 
static const char $\ast$ \hyperlink{ldebug_8c_7bb8927d39f08ee6a761487e7a100114}{findlocal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structCallInfo}{CallInfo} $\ast$ci, int n)
\item 
LUA\_\-API const char $\ast$ \hyperlink{ldebug_8c_aaf420ee0b0e79a45b823d9da4905667}{lua\_\-getlocal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar, int n)
\item 
LUA\_\-API const char $\ast$ \hyperlink{ldebug_8c_425c37b17caf76545f1541a5bb81dfc6}{lua\_\-setlocal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar, int n)
\item 
static void \hyperlink{ldebug_8c_84af60873d130ffee87eb1721f3231e4}{funcinfo} (\hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar, \hyperlink{unionClosure}{Closure} $\ast$cl)
\item 
static void \hyperlink{ldebug_8c_115f8498a239959c4938e58cc551c229}{info\_\-tailcall} (\hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar)
\item 
static void \hyperlink{ldebug_8c_6e3195fc94af1f75142c2801ca8cf058}{collectvalidlines} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{unionClosure}{Closure} $\ast$f)
\item 
static int \hyperlink{ldebug_8c_d72fa774194e83872bac4e5bf6ec1160}{auxgetinfo} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$what, \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar, \hyperlink{unionClosure}{Closure} $\ast$f, \hyperlink{structCallInfo}{CallInfo} $\ast$ci)
\item 
LUA\_\-API int \hyperlink{ldebug_8c_caafc35d8e385c4d167229486165df6d}{lua\_\-getinfo} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$what, \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar)
\item 
static int \hyperlink{ldebug_8c_294c9f5b1c8e2972efcebf379d702735}{precheck} (const \hyperlink{structProto}{Proto} $\ast$pt)
\item 
int \hyperlink{ldebug_8c_4d9ff6cdad8269e1255371a4d70829d9}{luaG\_\-checkopenop} (\hyperlink{llimits_8h_2d9700d30c1ae59754ecf50917c04d43}{Instruction} i)
\item 
static int \hyperlink{ldebug_8c_d94e93e77edd450535bbfc829a4a71f7}{checkArgMode} (const \hyperlink{structProto}{Proto} $\ast$pt, int r, enum \hyperlink{lopcodes_8h_74ef10b1841536b2ae065f2371fb9436}{OpArgMask} mode)
\item 
static \hyperlink{llimits_8h_2d9700d30c1ae59754ecf50917c04d43}{Instruction} \hyperlink{ldebug_8c_53bb438318b5584c9242c1c07d158208}{symbexec} (const \hyperlink{structProto}{Proto} $\ast$pt, int lastpc, int reg)
\item 
int \hyperlink{ldebug_8c_1abb4dc97c40ac34a3a1de5fca70f7c2}{luaG\_\-checkcode} (const \hyperlink{structProto}{Proto} $\ast$pt)
\item 
static const char $\ast$ \hyperlink{ldebug_8c_896df10e8edbe86d8e62b3e81d851ab3}{kname} (\hyperlink{structProto}{Proto} $\ast$p, int c)
\item 
static const char $\ast$ \hyperlink{ldebug_8c_da297c81d135febbe80c95e340929608}{getobjname} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structCallInfo}{CallInfo} $\ast$ci, int stackpos, const char $\ast$$\ast$name)
\item 
static int \hyperlink{ldebug_8c_9f58a8099ec72d2ec0e0937b868fccdb}{isinstack} (\hyperlink{structCallInfo}{CallInfo} $\ast$ci, const \hyperlink{structlua__TValue}{TValue} $\ast$o)
\item 
void \hyperlink{ldebug_8c_c435d10ca9d22f7dd70bfb36fa41a649}{luaG\_\-typeerror} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__TValue}{TValue} $\ast$o, const char $\ast$op)
\item 
void \hyperlink{ldebug_8c_35847e9106b2a11342d215199492ded4}{luaG\_\-concaterror} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structlua__TValue}{StkId} p1, \hyperlink{structlua__TValue}{StkId} p2)
\item 
void \hyperlink{ldebug_8c_5d76c740cd1619e024dc6de84a86b8fc}{luaG\_\-aritherror} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__TValue}{TValue} $\ast$p1, const \hyperlink{structlua__TValue}{TValue} $\ast$p2)
\item 
int \hyperlink{ldebug_8c_73c2897b44470d40e39663273889f98a}{luaG\_\-ordererror} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__TValue}{TValue} $\ast$p1, const \hyperlink{structlua__TValue}{TValue} $\ast$p2)
\item 
static void \hyperlink{ldebug_8c_93da961a6585b774880b8329a4a22c29}{addinfo} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$msg)
\item 
void \hyperlink{ldebug_8c_d12d1709978097158ace5169f9802da9}{luaG\_\-errormsg} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{ldebug_8c_5ef43f05a00bde7ee94539f3d765789c}{luaG\_\-runerror} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$fmt,...)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{ldebug_8c_437fe6dda055faa9899b4268918b8032}{
\index{ldebug.c@{ldebug.c}!check@{check}}
\index{check@{check}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define check(x)~if (!(x)) return 0;}}
\label{ldebug_8c_437fe6dda055faa9899b4268918b8032}


\hypertarget{ldebug_8c_5a7b322872346ea6f00efe21ee19965a}{
\index{ldebug.c@{ldebug.c}!checkjump@{checkjump}}
\index{checkjump@{checkjump}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define checkjump(pt, \/  pc)~check(0 $<$= pc \&\& pc $<$ pt $\rightarrow$ sizecode)}}
\label{ldebug_8c_5a7b322872346ea6f00efe21ee19965a}


\hypertarget{ldebug_8c_fb13853f4f0bbe220189b6fac17cec15}{
\index{ldebug.c@{ldebug.c}!checkopenop@{checkopenop}}
\index{checkopenop@{checkopenop}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define checkopenop(pt, \/  pc)~luaG\_\-checkopenop((pt) $\rightarrow$ code\mbox{[}(pc)+1\mbox{]})}}
\label{ldebug_8c_fb13853f4f0bbe220189b6fac17cec15}


\hypertarget{ldebug_8c_16636d18aebfaa0a204e1a139088e504}{
\index{ldebug.c@{ldebug.c}!checkreg@{checkreg}}
\index{checkreg@{checkreg}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define checkreg(pt, \/  reg)~check((reg) $<$ (pt) $\rightarrow$ maxstacksize)}}
\label{ldebug_8c_16636d18aebfaa0a204e1a139088e504}


\hypertarget{ldebug_8c_2b6bdddfcfeef5c88fe82ef48697a640}{
\index{ldebug.c@{ldebug.c}!ldebug\_\-c@{ldebug\_\-c}}
\index{ldebug\_\-c@{ldebug\_\-c}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ldebug\_\-c}}
\label{ldebug_8c_2b6bdddfcfeef5c88fe82ef48697a640}


\hypertarget{ldebug_8c_bf0b3947b59218777a8e928a10be205b}{
\index{ldebug.c@{ldebug.c}!LUA\_\-CORE@{LUA\_\-CORE}}
\index{LUA\_\-CORE@{LUA\_\-CORE}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LUA\_\-CORE}}
\label{ldebug_8c_bf0b3947b59218777a8e928a10be205b}




\subsection{Function Documentation}
\hypertarget{ldebug_8c_93da961a6585b774880b8329a4a22c29}{
\index{ldebug.c@{ldebug.c}!addinfo@{addinfo}}
\index{addinfo@{addinfo}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void addinfo ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em msg})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_93da961a6585b774880b8329a4a22c29}


\hypertarget{ldebug_8c_d72fa774194e83872bac4e5bf6ec1160}{
\index{ldebug.c@{ldebug.c}!auxgetinfo@{auxgetinfo}}
\index{auxgetinfo@{auxgetinfo}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int auxgetinfo ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em what}, \/  {\bf lua\_\-Debug} $\ast$ {\em ar}, \/  {\bf Closure} $\ast$ {\em f}, \/  {\bf CallInfo} $\ast$ {\em ci})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_d72fa774194e83872bac4e5bf6ec1160}


\hypertarget{ldebug_8c_d94e93e77edd450535bbfc829a4a71f7}{
\index{ldebug.c@{ldebug.c}!checkArgMode@{checkArgMode}}
\index{checkArgMode@{checkArgMode}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int checkArgMode (const {\bf Proto} $\ast$ {\em pt}, \/  int {\em r}, \/  enum {\bf OpArgMask} {\em mode})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_d94e93e77edd450535bbfc829a4a71f7}


\hypertarget{ldebug_8c_6e3195fc94af1f75142c2801ca8cf058}{
\index{ldebug.c@{ldebug.c}!collectvalidlines@{collectvalidlines}}
\index{collectvalidlines@{collectvalidlines}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void collectvalidlines ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Closure} $\ast$ {\em f})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_6e3195fc94af1f75142c2801ca8cf058}


\hypertarget{ldebug_8c_4c5c4ed4c8752d396af7ac41f74dad16}{
\index{ldebug.c@{ldebug.c}!currentline@{currentline}}
\index{currentline@{currentline}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int currentline ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf CallInfo} $\ast$ {\em ci})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_4c5c4ed4c8752d396af7ac41f74dad16}


\hypertarget{ldebug_8c_add6060aae54fd1b822345b8c58a86f5}{
\index{ldebug.c@{ldebug.c}!currentpc@{currentpc}}
\index{currentpc@{currentpc}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int currentpc ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf CallInfo} $\ast$ {\em ci})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_add6060aae54fd1b822345b8c58a86f5}


\hypertarget{ldebug_8c_7bb8927d39f08ee6a761487e7a100114}{
\index{ldebug.c@{ldebug.c}!findlocal@{findlocal}}
\index{findlocal@{findlocal}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ findlocal ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf CallInfo} $\ast$ {\em ci}, \/  int {\em n})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_7bb8927d39f08ee6a761487e7a100114}


\hypertarget{ldebug_8c_84af60873d130ffee87eb1721f3231e4}{
\index{ldebug.c@{ldebug.c}!funcinfo@{funcinfo}}
\index{funcinfo@{funcinfo}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void funcinfo ({\bf lua\_\-Debug} $\ast$ {\em ar}, \/  {\bf Closure} $\ast$ {\em cl})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_84af60873d130ffee87eb1721f3231e4}


\hypertarget{ldebug_8c_bf0d60b43b4bff2821e87b2f4054a6b7}{
\index{ldebug.c@{ldebug.c}!getfuncname@{getfuncname}}
\index{getfuncname@{getfuncname}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char $\ast$ getfuncname ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf CallInfo} $\ast$ {\em ci}, \/  const char $\ast$$\ast$ {\em name})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_bf0d60b43b4bff2821e87b2f4054a6b7}


\hypertarget{ldebug_8c_f9b48940a4b1206aa52487e903d2ba30}{
\index{ldebug.c@{ldebug.c}!getluaproto@{getluaproto}}
\index{getluaproto@{getluaproto}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf Proto}$\ast$ getluaproto ({\bf CallInfo} $\ast$ {\em ci})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_f9b48940a4b1206aa52487e903d2ba30}


\hypertarget{ldebug_8c_da297c81d135febbe80c95e340929608}{
\index{ldebug.c@{ldebug.c}!getobjname@{getobjname}}
\index{getobjname@{getobjname}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ getobjname ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf CallInfo} $\ast$ {\em ci}, \/  int {\em stackpos}, \/  const char $\ast$$\ast$ {\em name})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_da297c81d135febbe80c95e340929608}


\hypertarget{ldebug_8c_115f8498a239959c4938e58cc551c229}{
\index{ldebug.c@{ldebug.c}!info\_\-tailcall@{info\_\-tailcall}}
\index{info\_\-tailcall@{info\_\-tailcall}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void info\_\-tailcall ({\bf lua\_\-Debug} $\ast$ {\em ar})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_115f8498a239959c4938e58cc551c229}


\hypertarget{ldebug_8c_9f58a8099ec72d2ec0e0937b868fccdb}{
\index{ldebug.c@{ldebug.c}!isinstack@{isinstack}}
\index{isinstack@{isinstack}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int isinstack ({\bf CallInfo} $\ast$ {\em ci}, \/  const {\bf TValue} $\ast$ {\em o})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_9f58a8099ec72d2ec0e0937b868fccdb}


\hypertarget{ldebug_8c_896df10e8edbe86d8e62b3e81d851ab3}{
\index{ldebug.c@{ldebug.c}!kname@{kname}}
\index{kname@{kname}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ kname ({\bf Proto} $\ast$ {\em p}, \/  int {\em c})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_896df10e8edbe86d8e62b3e81d851ab3}


\hypertarget{ldebug_8c_44b9923035977dcfa57279761f7379b4}{
\index{ldebug.c@{ldebug.c}!lua\_\-gethook@{lua\_\-gethook}}
\index{lua\_\-gethook@{lua\_\-gethook}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-Hook} lua\_\-gethook ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ldebug_8c_44b9923035977dcfa57279761f7379b4}


\hypertarget{ldebug_8c_18f065f752cfa08eefd338b4cbd7254b}{
\index{ldebug.c@{ldebug.c}!lua\_\-gethookcount@{lua\_\-gethookcount}}
\index{lua\_\-gethookcount@{lua\_\-gethookcount}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-gethookcount ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ldebug_8c_18f065f752cfa08eefd338b4cbd7254b}


\hypertarget{ldebug_8c_0b41dd9ab46652c8433b861f679fadb8}{
\index{ldebug.c@{ldebug.c}!lua\_\-gethookmask@{lua\_\-gethookmask}}
\index{lua\_\-gethookmask@{lua\_\-gethookmask}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-gethookmask ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ldebug_8c_0b41dd9ab46652c8433b861f679fadb8}


\hypertarget{ldebug_8c_caafc35d8e385c4d167229486165df6d}{
\index{ldebug.c@{ldebug.c}!lua\_\-getinfo@{lua\_\-getinfo}}
\index{lua\_\-getinfo@{lua\_\-getinfo}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-getinfo ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em what}, \/  {\bf lua\_\-Debug} $\ast$ {\em ar})}}
\label{ldebug_8c_caafc35d8e385c4d167229486165df6d}


\hypertarget{ldebug_8c_aaf420ee0b0e79a45b823d9da4905667}{
\index{ldebug.c@{ldebug.c}!lua\_\-getlocal@{lua\_\-getlocal}}
\index{lua\_\-getlocal@{lua\_\-getlocal}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-getlocal ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf lua\_\-Debug} $\ast$ {\em ar}, \/  int {\em n})}}
\label{ldebug_8c_aaf420ee0b0e79a45b823d9da4905667}


\hypertarget{ldebug_8c_c1fc03c27ee46caa4037df2d70f22110}{
\index{ldebug.c@{ldebug.c}!lua\_\-getstack@{lua\_\-getstack}}
\index{lua\_\-getstack@{lua\_\-getstack}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-getstack ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em level}, \/  {\bf lua\_\-Debug} $\ast$ {\em ar})}}
\label{ldebug_8c_c1fc03c27ee46caa4037df2d70f22110}


\hypertarget{ldebug_8c_664ce25a0c30d2c1b1e89e7ea25be7f0}{
\index{ldebug.c@{ldebug.c}!lua\_\-sethook@{lua\_\-sethook}}
\index{lua\_\-sethook@{lua\_\-sethook}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-sethook ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Hook} {\em func}, \/  int {\em mask}, \/  int {\em count})}}
\label{ldebug_8c_664ce25a0c30d2c1b1e89e7ea25be7f0}


\hypertarget{ldebug_8c_425c37b17caf76545f1541a5bb81dfc6}{
\index{ldebug.c@{ldebug.c}!lua\_\-setlocal@{lua\_\-setlocal}}
\index{lua\_\-setlocal@{lua\_\-setlocal}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-setlocal ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf lua\_\-Debug} $\ast$ {\em ar}, \/  int {\em n})}}
\label{ldebug_8c_425c37b17caf76545f1541a5bb81dfc6}


\hypertarget{ldebug_8c_5d76c740cd1619e024dc6de84a86b8fc}{
\index{ldebug.c@{ldebug.c}!luaG\_\-aritherror@{luaG\_\-aritherror}}
\index{luaG\_\-aritherror@{luaG\_\-aritherror}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaG\_\-aritherror ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf TValue} $\ast$ {\em p1}, \/  const {\bf TValue} $\ast$ {\em p2})}}
\label{ldebug_8c_5d76c740cd1619e024dc6de84a86b8fc}


\hypertarget{ldebug_8c_1abb4dc97c40ac34a3a1de5fca70f7c2}{
\index{ldebug.c@{ldebug.c}!luaG\_\-checkcode@{luaG\_\-checkcode}}
\index{luaG\_\-checkcode@{luaG\_\-checkcode}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int luaG\_\-checkcode (const {\bf Proto} $\ast$ {\em pt})}}
\label{ldebug_8c_1abb4dc97c40ac34a3a1de5fca70f7c2}


\hypertarget{ldebug_8c_4d9ff6cdad8269e1255371a4d70829d9}{
\index{ldebug.c@{ldebug.c}!luaG\_\-checkopenop@{luaG\_\-checkopenop}}
\index{luaG\_\-checkopenop@{luaG\_\-checkopenop}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int luaG\_\-checkopenop ({\bf Instruction} {\em i})}}
\label{ldebug_8c_4d9ff6cdad8269e1255371a4d70829d9}


\hypertarget{ldebug_8c_35847e9106b2a11342d215199492ded4}{
\index{ldebug.c@{ldebug.c}!luaG\_\-concaterror@{luaG\_\-concaterror}}
\index{luaG\_\-concaterror@{luaG\_\-concaterror}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaG\_\-concaterror ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf StkId} {\em p1}, \/  {\bf StkId} {\em p2})}}
\label{ldebug_8c_35847e9106b2a11342d215199492ded4}


\hypertarget{ldebug_8c_d12d1709978097158ace5169f9802da9}{
\index{ldebug.c@{ldebug.c}!luaG\_\-errormsg@{luaG\_\-errormsg}}
\index{luaG\_\-errormsg@{luaG\_\-errormsg}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaG\_\-errormsg ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ldebug_8c_d12d1709978097158ace5169f9802da9}


\hypertarget{ldebug_8c_73c2897b44470d40e39663273889f98a}{
\index{ldebug.c@{ldebug.c}!luaG\_\-ordererror@{luaG\_\-ordererror}}
\index{luaG\_\-ordererror@{luaG\_\-ordererror}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int luaG\_\-ordererror ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf TValue} $\ast$ {\em p1}, \/  const {\bf TValue} $\ast$ {\em p2})}}
\label{ldebug_8c_73c2897b44470d40e39663273889f98a}


\hypertarget{ldebug_8c_5ef43f05a00bde7ee94539f3d765789c}{
\index{ldebug.c@{ldebug.c}!luaG\_\-runerror@{luaG\_\-runerror}}
\index{luaG\_\-runerror@{luaG\_\-runerror}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaG\_\-runerror ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em fmt}, \/   {\em ...})}}
\label{ldebug_8c_5ef43f05a00bde7ee94539f3d765789c}


\hypertarget{ldebug_8c_c435d10ca9d22f7dd70bfb36fa41a649}{
\index{ldebug.c@{ldebug.c}!luaG\_\-typeerror@{luaG\_\-typeerror}}
\index{luaG\_\-typeerror@{luaG\_\-typeerror}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaG\_\-typeerror ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf TValue} $\ast$ {\em o}, \/  const char $\ast$ {\em op})}}
\label{ldebug_8c_c435d10ca9d22f7dd70bfb36fa41a649}


\hypertarget{ldebug_8c_294c9f5b1c8e2972efcebf379d702735}{
\index{ldebug.c@{ldebug.c}!precheck@{precheck}}
\index{precheck@{precheck}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int precheck (const {\bf Proto} $\ast$ {\em pt})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_294c9f5b1c8e2972efcebf379d702735}


\hypertarget{ldebug_8c_53bb438318b5584c9242c1c07d158208}{
\index{ldebug.c@{ldebug.c}!symbexec@{symbexec}}
\index{symbexec@{symbexec}!ldebug.c@{ldebug.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf Instruction} symbexec (const {\bf Proto} $\ast$ {\em pt}, \/  int {\em lastpc}, \/  int {\em reg})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldebug_8c_53bb438318b5584c9242c1c07d158208}


