All Projects → satoren → LRDB

satoren / LRDB

Licence: BSL-1.0 License
Lua Remote DeBugger

Programming Languages

C++
36643 projects - #6 most used programming language
typescript
32286 projects
CMake
9771 projects

Labels

Projects that are alternatives of or similar to LRDB

marklogic-debugger
a stand-alone debugger for MarkLogic xQuery
Stars: ✭ 19 (-62%)
Mutual labels:  debugger
simple-debug.css
Debug your layouts with one line of CSS
Stars: ✭ 32 (-36%)
Mutual labels:  debugger
objeck-lang
Modern object-oriented and functional programming language
Stars: ✭ 45 (-10%)
Mutual labels:  debugger
metal.test
Deprecated, superseded by https://github.com/metal-ci/test
Stars: ✭ 41 (-18%)
Mutual labels:  debugger
debugpress
DebugPress is easy to use plugin implementing popup for debugging currently loaded WordPress page with support for intercepting AJAX requests.
Stars: ✭ 19 (-62%)
Mutual labels:  debugger
BrainfuckIDE
A Brainfuck IDE/debugger designed to be intuitive, featureful and visually appealing
Stars: ✭ 77 (+54%)
Mutual labels:  debugger
ircpdb
Remotely and collaboratively debug your Python application via an IRC channel.
Stars: ✭ 59 (+18%)
Mutual labels:  debugger
rusty-boy
Gameboy emulator in Rust
Stars: ✭ 20 (-60%)
Mutual labels:  debugger
PushMeBaby
iOS Push Notification Debug App. You can use this app during iOS Push Notification (development or production) to push notifications on your device from your Mac.
Stars: ✭ 47 (-6%)
Mutual labels:  debugger
Devel-hdb
A graphical Perl debugger implemented as a web service
Stars: ✭ 29 (-42%)
Mutual labels:  debugger
snestracker
Super Nintendo Entertainment System Music Software. Super Famicom Music Software
Stars: ✭ 161 (+222%)
Mutual labels:  debugger
error
Makes handling and debugging PHP errors suck less
Stars: ✭ 17 (-66%)
Mutual labels:  debugger
vscode-fortran-support
Fortran language support for Visual Studio Code
Stars: ✭ 49 (-2%)
Mutual labels:  debugger
docker-pudb
Debug Python code within a Docker container remotely from your terminal using pudb
Stars: ✭ 18 (-64%)
Mutual labels:  debugger
shell-command
Opens an interactive PHP console for running and testing PHP code.
Stars: ✭ 18 (-64%)
Mutual labels:  debugger
wskdebug
Debugging and live development tool for Apache OpenWhisk - MOVED >>
Stars: ✭ 17 (-66%)
Mutual labels:  debugger
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-62%)
Mutual labels:  debugger
lsp-wl
A Wolfram Language Server
Stars: ✭ 157 (+214%)
Mutual labels:  debugger
edd
Erlang Declarative Debugger
Stars: ✭ 20 (-60%)
Mutual labels:  debugger
z80e
A z80 calculator emulator (and debugger)
Stars: ✭ 65 (+30%)
Mutual labels:  debugger

Lua Remote DeBugger

Licensed under Boost Software License

test Coverage Status

Introduction

LRDB is Debugger for Lua programing language.

Currentry debug client is Visual Studio Code extension only.

Command line interface debugger is not implemented.

Features

  • Breakpoints with conditional and hit counts.
  • Step over, step in, step out
  • Display Local,Upvalue,Global values
  • Watches,Eval on Debug Console
  • Remote debugging over TCP network

Requirements

  • Lua 5.1 or later
  • C++11 compiler

Embedded to your host program

LRDB is header only library

include path

  • LRDB/include
  • LRDB/third_party/asio/asio/include or boost.asio with -DLRDB_USE_BOOST_ASIO
  • LRDB/third_party/picojson

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 module

If you using standalone Lua. you can use lua c mocule.

Build and Install with LuaRocks

luarocks install lrdb

Build module your self

mkdir build
cd build
cmake ../ -DLUA=lua-5.3
cmake --build --target lrdb_server

Generated lrdb_server.so or lrdb_server.dll

Use module

lrdb = 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 Extension

https://github.com/satoren/vscode-lrdb

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].