Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
** This file: ** http://anggtwu.net/LUA/2025-lua-debugger-tutorial.html ** http://anggtwu.net/LUA/2025-lua-debugger-tutorial ** (find-anggwget "LUA/2025-lua-debugger-tutorial") ** (find-angg "LUA/2025-lua-debugger-tutorial") ** Author: Eduardo Ochs <eduardoochs@gmail.com> ** See: http://anggtwu.net/2025-debugger-lua.html * (find-es "lua5" "debugger.lua-tutorial") * * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) rm -Rfv /tmp/dbg-test/ mkdir /tmp/dbg-test/ cd /tmp/dbg-test/ git clone https://github.com/slembcke/debugger.lua wget -N http://anggtwu.net/LUA/lua50init.lua * (setenv "LUA_INIT" "@/home/edrx/LUA/lua50init.lua") * (setenv "LUA_INIT" "@/tmp/dbg-test/lua50init.lua") * (eepitch-ansiterm "lua5.2") * (eepitch-kill) * (eepitch-ansiterm "lua5.2") * Path.prependtopath "/tmp/dbg-test/debugger.lua/?.lua" require "debugger" require "tutorial" w s n c f l c c e my_upvalue1 = "foobar" e print(my_upvalue1) c t c u p my_var d p my_var d p my_var c h c c q