MobDebug
MobDebug copied to clipboard
Remote debugger for Lua.
I'll try to add comments in the code
Problem that if buf has partial line e.g. `SETB fi` the mobdebug will not recognize it as a set breakpoint command.
Is there any guidlines for code style for this module? E.g. is it safe to decompose `debug_loop` function? Righ now I working on addition a new protocol and it will...
Hi Paul, -I copied the mobdebug.lua under /usr/local/share/lua/5.1 -Created foo.lua in /opt/ZeroBraneStudio-1.90/myprograms so it is reachable by zbstudio with this content `require('mobdebug').start() ` `lineforthebreakpoint=1` I installed the plugin autostart from...
Please admit that it is a completely unrealistic fantasy to believe that path mapping between vastly different environments (development environment with checked-out monorepo source tree vs. docker container with highly...
```lua function print_args(args) print(args) end ``` use below code: ```lua local _, result, err = mobdebug.handle(string.format("exec return print_args('%s')", '1/0 --[[math.huge]]'), client) ``` result is:  but execute from local like...
My use case now is work with server which creates separate coroutine for each request. So code looks like this ```Lua mobdebug.coro() mobdebug.start() mobdebug.off() function handler() -- this function calls...
Thank you for creating MobDebug. I would like to use it as a part of Emacs, integrated with the [`realgud`](https://github.com/realgud/realgud) package. The problem is the MobDebug server doesn't print a...
Is there some handy documentation on how to implement the server? What commands should be sent and how each part relates to each other. I have been reading the source...
Would it be possible to debug raw bytecode with string.dump and a count hook?