use of org.luaj.vm2.lib.DebugLib in project LuaViewSDK by alibaba.
the class JsePlatform method debugGlobals.
/** Create standard globals including the {@link debug} library.
*
* @return Table of globals initialized with the standard JSE and debug libraries
* @see #standardGlobals()
* @see JsePlatform
* @see JmePlatform
* @see DebugLib
*/
public static Globals debugGlobals() {
Globals globals = standardGlobals();
globals.load(new DebugLib());
return globals;
}
use of org.luaj.vm2.lib.DebugLib in project LuaViewSDK by alibaba.
the class JsePlatform method debugGlobals.
/** Create standard globals including the {@link debug} library.
*
* @return Table of globals initialized with the standard JSE and debug libraries
* @see #standardGlobals()
* @see JsePlatform
* @see JmePlatform
* @see DebugLib
*/
public static Globals debugGlobals(Globals globals) {
standardGlobals(globals);
globals.load(new DebugLib());
return globals;
}