Skip to main content

Crate luars_debugger

Crate luars_debugger 

Source
Expand description

luars_debugger — Built-in EmmyLua-compatible debugger for luars.

§Quick start

use luars::LuaVM;
use luars_debugger::Library;

let mut vm = LuaVM::new();
// Simple: install with defaults (module = "emmy_core")
vm.install_library(Library::default()).unwrap();
// Now Lua code can do: local dbg = require("emmy_core")

§Customization

use luars::LuaVM;
use luars_debugger::Library;

let mut vm = LuaVM::new();
vm.install_library(
    Library {
        module_name: "debugger".to_string(),
        ..Library::default()
    },
)
.unwrap();
// Now Lua code can do: local dbg = require("debugger")

Modules§

debugger
Core debugger state and message dispatch.
emmy_core
require "emmy_core" module interface.
hook_state
Hook state machine for stepping/continuing.
proto
transporter
TCP transport layer for the EmmyLua debugger protocol.

Structs§

Library
Installable debugger library descriptor for luars.