Home › Forums › General › Programming › Debugging Support for Lua › Reply To: Debugging Support for Lua
October 9, 2014 at 11:16 am
#30344
ok I added mobdebug from ZeroBrane to Ctrlr at Source\Lua\mobdebug
I see that mobdebug requires some extra modules :
--
-- MobDebug 0.60
-- Copyright 2011-14 Paul Kulchenko
-- Based on RemDebug 1.0 Copyright Kepler Project 2005
--
-- use loaded modules or load explicitly on those systems that require that
local require = require
local io = io or require "io"
local table = table or require "table"
local string = string or require "string"
local coroutine = coroutine or require "coroutine"
-- protect require "os" as it may fail on embedded systems without os module
local os = os or (function(module)
local ok, res = pcall(require, module)
return ok and res or nil
end)("os")
..
...
I will try to find the io library and the others and compile it in with Ctrlr. I wonder if there is some central place where I can get these standard libs for Lua.
What is the Lua version being used by Ctrlr ?