Autodesk-AutoCAD / AutoLispExt

Visual Studio Code Extension for AutoCAD® AutoLISP
https://marketplace.visualstudio.com/items?itemName=Autodesk.autolispext
Apache License 2.0
83 stars 29 forks source link

Error: This instance of AutoCAD is currently being used to debug another file #164

Closed crigNibhinn closed 3 years ago

crigNibhinn commented 3 years ago

Describe the bug Can't attach the Visual Code AutoLISP debugger to AutoCAD. Always reports that AutoCAD is in use. Won't even attach when trying to launch AutoCAD through Visual Code. I've followed every instruction I could but cannot get past this.

Tested with AutoCAD 2022 and 2021. Tried a fresh install of Visual Code and AutoCAD Tried re-install the plugin/extension Tried restarting my PC

Maybe I'm just missing something obvious or I'm doing something wrong but I didn't have any luck with Autodesk support or online from searches.

To Reproduce Steps to reproduce the behavior:

  1. Launch AutoCAD
  2. Open Visual Code
  3. Try to attach debugger or run debugging
  4. See error

Expected behavior Debugger attaches and I can start loading LISP files using Visual Code, if my understanding of how it works is correct

Desktop (please complete the following information):

Sen-real commented 3 years ago

@crigNibhinn would you please upload a snapshot which contains the error message? thanks a lot!

Sen-real commented 3 years ago

BTW, is your Windows account an administrator?

crigNibhinn commented 3 years ago

I actually managed to resolve the issue last night. I tested AutoCAD and Visual Code on a VM and it worked so it must have been any issue with my Windows install or an installed program causing issues. I ended up re-installing my OS and now it works perfectly.