Code Monkey home page Code Monkey logo

Comments (7)

aceyin avatar aceyin commented on May 25, 2024 2

虽然问题已经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.

tangzx avatar tangzx commented on May 25, 2024

我这边调试正常,试试最新的还能重现吗?
image

from intellij-emmylua.

CodeMasterYi avatar CodeMasterYi commented on May 25, 2024

http://joedf.ahkscript.org/LuaBuilds/

from intellij-emmylua.

CodeMasterYi avatar CodeMasterYi commented on May 25, 2024

大概是用错了解释器

from intellij-emmylua.

zoloypzuo avatar zoloypzuo commented on May 25, 2024

如何使用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.

tangzx avatar tangzx commented on May 25, 2024

@zoloypzuo attach debugger暂时有一些问题,用新版本调试器吧,文档外网暂时没更新,进群看视频和文档。

from intellij-emmylua.

wmortume avatar wmortume commented on May 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.