actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

能教一下怎么用这个工程的吗? Wait verify. (The source file is not loaded.) #144

Closed car520120 closed 3 years ago

car520120 commented 3 years ago

我想学习怎么使用这个工程主要的原因是: 项目能正常 attach 工程 也可以暂停在第一行,中途点暂停也能定位到文件中 只是设置断点时会提示:Wait verify. (The source file is not loaded.) 暂停时能看到 Global 中函数相对路径 主要不知道是什么原因导致的,所以想着学习这个工程 编译好了以后,不知道怎么启动怎么下手,dap 通信的例子也不知道在那能看到 vscode api 中我也只看到概念,没有通信例子,也不懂得怎么进行的,本来想着用wireshark去监听 127.0.0.1 看看通信内容的 调试时没有监听到数据,大佬能教一下我怎么用这个工程吗? 这是编译后的文件:

目录: D:\Home\Learn\vscode\lua-debug\build\windows\x86_64\release\bin                                                                                                             
Mode                 LastWriteTime         Length Name                                    
----                 -------------         ------ ----                                    
d-----         2021/8/24     16:16                runtime                                 
-a----         2021/8/24     16:16         329728 bee.dll                                 
-a----         2021/8/24     16:16           2207 bee.exp                                 
-a----         2021/8/24     16:16           4086 bee.lib                                 
-a----         2021/8/24     16:16         129024 bootstrap.exe                           
-a----         2021/8/24     16:16          98816 launcher.dll                            
-a----         2021/8/24     16:16            788 launcher.exp                            
-a----         2021/8/24     16:16           1860 launcher.lib                            
-a----         2021/8/24     16:16         354816 lua54.dll                               
-a----         2021/8/24     16:16          18213 lua54.exp                               
-a----         2021/8/24     16:16          30278 lua54.lib                               

PS D:\Home\Learn\vscode\lua-debug\build\windows\x86_64\release\bin> cd .\runtime\         
PS D:\Home\Learn\vscode\lua-debug\build\windows\x86_64\release\bin\runtime> ls            

    目录: D:\Home\Learn\vscode\lua-debug\build\windows\x86_64\release\bin\runtime           

Mode                 LastWriteTime         Length Name                                    
----                 -------------         ------ ----                                    
d-----         2021/8/24     16:17                lua-latest                              
d-----         2021/8/24     16:16                lua51                                   
d-----         2021/8/24     16:16                lua52                                   
d-----         2021/8/24     16:16                lua53                                   
d-----         2021/8/24     16:17                lua54                                   
actboy168 commented 3 years ago

同#142