Comments (7)
虽然问题已经close了, 但是我们也遇到了这个问题, 而且找到了原因, 所以这里记录一下, 看看是否能对其他人有帮助:
环境:
- Lua: 5.3.5
- Window 64位
- Idea: 2019.2
- EmmyLua: 1.2.9
现象
跟各位一样, 都是 在 idea 里面直接 “run” Lua 代码是没问题, 但 “debug” 就报 "lua 5.3 停止工作“。
原因
最后发现, 出现这个情况的原因是因为, 我们用的Lua5.3版本是 32位的, 而操作系统是 64位的,
后来把 Lua 换成 64位的, 一切正常了
from intellij-emmylua.
from intellij-emmylua.
http://joedf.ahkscript.org/LuaBuilds/
from intellij-emmylua.
大概是用错了解释器
from intellij-emmylua.
如何使用Lua5.3调试?
抱歉,在这个已关闭的问题下评论,因为我遇到同样的问题,尝试了几次没有找到解决方法。
AttachDebug,使用lua for windows(只有lua5.1)是正常的,但是我现在想使用lua5.3,所以下载了lua binary(http://joedf.ahkscript.org/LuaBuilds/)
配置中仅仅把lua.exe换成新的,就会导致无法调试,lua.exe跳了一个窗口,然后退出,然后控制台显示debugger断开链接
Try launch program:D:\ZeloEngine\lua.exe with x86 debugger.
Attach finish.
debugger disconnected.
然后我尝试自己编译了lua源码,用这个lua.exe来调试,报错
Try launch program:D:\ZeloEngine\lua.exe with x86 debugger.
Attach finish.
Assertion failed: (((((t))->tt_) == (((5) | (1 << 6))))) && "table expected", file d:\zeloengine\external\lua-5.3.5\src\lapi.c, line 651
debugger disconnected.
from intellij-emmylua.
@zoloypzuo attach debugger暂时有一些问题,用新版本调试器吧,文档外网暂时没更新,进群看视频和文档。
from intellij-emmylua.
@aceyin Solution works but for those of you that speak english, the solution is to make sure you have the 64 bit version of lua binaries and not the 32 bit.
from intellij-emmylua.
Related Issues (20)
- Can't break point lua with Emmy Debugger(NEW) HOT 10
- New Debugger crashes on connect
- 代码提示会使idea卡顿并报错
- Issue with autocompletion HOT 3
- Issue with types HOT 1
- Issue with self. code completion HOT 1
- Addition assignment flagged as invalid HOT 2
- Creation of new project do nothing HOT 3
- Remove unused local function HOT 4
- PyCharm freezes when using a live template with a colon HOT 1
- 编辑器卡顿,无法重命名 HOT 4
- 使用.var导致编辑器卡死 HOT 7
- 1.4.[9-11]-IDEA231 crashes at startup on CLion 2023.3.2 HOT 4
- Macros cannot be used in the working directory of the run configuration. HOT 1
- 1.4.11 代码补全问题 HOT 2
- Adding a key to a global array in another file doesn't register the value type HOT 3
- Cannot Refactor Table-Namespaced Functions HOT 1
- std is missing in my build HOT 1
- Puglin EmmyLua imcompatible PyCharm 2024.1 HOT 1
- Intellij IDEA 2024.1.1 中,在函数内输入可能会导致函数内的语法着色发生闪烁 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-emmylua.