actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
431 stars 93 forks source link

关于调试 lua jit #204

Open Dangerise opened 1 year ago

Dangerise commented 1 year ago

看起来似乎作者是中国人,便直接用中文描述 我在lua jit的官网http://luajit.org/下载了luajit的源码,并利用项目中的Makefile直接采用mingw编译 我将编译后得到的结果作为lua的解释器,并用这个插件调试,得到的结果如下 image

actboy168 commented 1 year ago

你的调试配置是什么

Dangerise commented 1 year ago

没有进行什么配置,采用默认的方法,只是我把我编译的程序替换了插件中的程序

fesily commented 1 year ago

我猜测你的配置完全不正确,因为需要调用luajit专用的DLL才行,你替换这个lua-latest肯定是不能调试的,要替换也得替换luajit下的,并且配置上要使用LUA_VERSION改成luajit