Skip to content

actboy168/lua-debug

Repository files navigation

lua-debug

Build Status

Requirements

  • Lua 5.1 - 5.4 or luajit (thanks @fesily)
  • Platform: Windows, macOS, Linux, Android, NetBSD, FreeBSD

Feature

  • Breakpoints
  • Function breakpoints
  • Conditional breakpoints
  • Hit Conditional breakpoints
  • Step over, step in, step out
  • Watches
  • Evaluate expressions
  • Exception
  • Remote debugging
  • Support WSL

Build

  1. Install luamake
git clone https://github.com/actboy168/luamake
pushd luamake
git submodule init
git submodule update
.\compile\install.bat(msvc)
./compile/install.sh (other)
popd
  1. Clone repo.
git clone https://github.com/actboy168/lua-debug
cd lua-debug
git submodule init
git submodule update
  1. Download deps.
luamake lua compile/download_deps.lua
  1. Build
luamake -mode release

Install to VSCode

  1. Install extension actboy168.lua-debug and actboy168.extension-path
  2. Open repo in VSCode
  3. Run task:Copy Publish

Todo

  • iOS example.