在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):satoren/LRDB开源软件地址(OpenSource Url):https://github.com/satoren/LRDB开源编程语言(OpenSource Language):C++ 93.0%开源软件介绍(OpenSource Introduction):Lua Remote DeBuggerLicensed under Boost Software License IntroductionLRDB is Debugger for Lua programing language. Currentry debug client is Visual Studio Code extension only. Command line interface debugger is not implemented. Features
Requirements
Embedded to your host programLRDB is header only library include path
code#include "lrdb/server.hpp"
...
int listen_port = 21110;//listen tcp port for debugger interface
lua_State* L = luaL_newstate();//create lua state
lrdb::server debug_server(listen_port);
debug_server.reset(L);//assign debug server to lua state(Required before script load)
bool ret = luaL_dofile(L, luafilepath);
debug_server.reset(); //unassign debug server (Required before lua_close )
lua_close(L); Lua moduleIf you using standalone Lua. you can use lua c mocule. LuaRocksBuild and Install with
Build module your self
Generated lrdb_server.so or lrdb_server.dll Use modulelrdb = require("lrdb_server")
lrdb.activate(21110) --21110 is using port number. waiting for connection by debug client.
--debuggee lua code
dofile("luascript.lua");
lrdb.deactivate() --deactivate debug server if you want. Visual Studio Code Extensionhttps://github.com/satoren/vscode-lrdb |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论