actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
437 stars 95 forks source link

Debugger stops after few seconds #127

Open cag014 opened 3 years ago

cag014 commented 3 years ago

After running the debugger, the debugger stops after 2 seconds w/o any error or problem. Using same environment as with previous Lua Debug version. No changes done at any setting files. Please advise ...

actboy168 commented 3 years ago

What is your debugging configuration and environment? Which version of the debugger are you running correctly and which one does not?

cag014 commented 3 years ago

"configurations": [ { "type": "lua", "request": "launch", "name": "Launch", "program": "${file}", "luaVersion": "5.3", "luaArch": "x86_64" } Same for debugger (lua 5.3, luaArch x86.64 Previous working version 1.20.3

actboy168 commented 3 years ago

Can you provide your lua file to be debugged?

cag014 commented 3 years ago

the file is huge and complicate, but have tried something very simple for i=1,3000 print (i) end It's never finished till the end . The debugger stops somewhere at i=1700

cag014 commented 3 years ago

Sorry, was my mistake... It's run too fast on my new PC and aborted (as intended), but not all information has been printed on the console and I thought it crashes somehow