Message 1 of 13
Stop infinite loop in AutoCAD using VsCode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello boys how are you.
I wanted to ask if anyone knows how to get out of an infinite loop in AutoCAD using VsCode.
Today by mistake I was working with the while function and I did not set the condition for it to stop.
So it stayed in an infinite loop in autocad, I stopped debugging in vscode and nothing happened in autocad, I also closed vscode completely and the loop continued in autocad.
I tried with the escape key, enter, all possible but I couldn't stop the cycle, the only thing was to enter the application manager and forcefully close autocad.
If anyone knows a method to stop the loop, I would be grateful if you could tell me how to do it.
Greetings.
AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)