Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调试器没有找到文件 chunk.lua.txt #144

Open
1174331877 opened this issue Mar 9, 2022 · 2 comments
Open

调试器没有找到文件 chunk.lua.txt #144

1174331877 opened this issue Mar 9, 2022 · 2 comments

Comments

@1174331877
Copy link

Describe the bug
调试器没有找到文件 chunk.lua.txt 。 请检查launch.json文件中lua后缀是否配置正确, 以及VSCode打开的工程是否正确
影响单步调试.
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • VsCode Version 1.65.1
  • LuaPanda Version v3.2.0
  • Framework Xlua
  • Other information about your environment.

Additional context
Add any other context about the problem here.

@stuartwang
Copy link
Collaborator

可以按以下步骤试下:

  1. 确认下项目中是否存在chunk.lua.txt文件,如果文件不存在可能是lua开发框架(xlua等)的内部文件,或者把 dobuffer 时把文件名传为了chunk, 导致调试器做了错误识别,这种情况忽略就行
  2. 如果文件存在,把鼠标移到 调试器没有找到文件 这个提示页面的标签上,可以看到调试器收到的chunk.lua.txt路径和实际文件路径。把这个路径和文件实际路径发出来,我看下原因。这种情况要么是没开自动路径,要么是调试器存在bug
    自动路径的设置参考 https://github.com/Tencent/LuaPanda/blob/master/Docs/Manual/launch-json-introduction.md

@pyinibudong
Copy link

Snipaste_2023-07-12_15-47-36
并没有chunk.lua.txt路径和实际文件路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants