IntelliJ-EmmyLua
IntelliJ-EmmyLua copied to clipboard
只能调试一个lua文件
Environment(环境)
| name | version |
|---|---|
| IDEA version | 2022.2.1 |
| EmmyLua version | 1.3.7.2 |
| OS | OSX 12.6.7, |
What are the steps to reproduce this issue?(重现步骤?)
- 已经配置了.lua识别,可以跳转
- package.cpath dbg.tcpListen('localhost', 9966)已添加
- 只可以调试已添加dbg.tcpListen的lua文件,其他的lua文件不可以调试
What happens?(出现什么问题?)
只能调试一个lua文件
What were you expecting to happen?(期望?)
可以调试项目内所有的lua文件
Any logs, error output, etc?(有没有什么log, error输出?)
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.) 没有错误日志
Any other comments?(其它说明)
…
chunkname问题, 可能你的chunkname(chunkname不是modname, modname的标准形式是AAA.BBB.CCC)不符合标准的 AAAA/BBB/CCC的形式, 你可能需要在custom loader中修改chunkname
chunkname在哪里修改呢?
chunkname在哪里修改呢?
前面回答过了, 如果是xlua这样的就在custom loader, 如果不是需要自己去查代码, 比如lua_loadbuffer这样的接口