[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] ZeroBrane Studio v0.35; now with Marmalade Quick integration and Lua 5.2/LuaJIT debugging
- From: GrayFace <sergroj@...>
- Date: Fri, 15 Feb 2013 22:52:04 +0700
This code produces an error:
debug.mobdebug = require("mobdebug")
coroutine.wrap(debug.mobdebug.start)()
This one doesn't, but it doesn't work out, i.e. doesn't give control to
ZeroBrane:
assert(pcall(debug.mobdebug.start))
A call close to these in other circumstances also lead to an error:
<func> was nil in <capture_vars> called from line 818.
This seems to solve all such problems:
function debug.start()
debug.mobdebug.start()
end
Calling debug.start in any manner works fine.
--
Best regards,
Sergey Rozhenko mailto:sergroj@mail.ru