You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix the regression to do LAUNCH debug and it has a prompt dialog in ACAD (#69)
##### Objective
In this submission I want to fix the regression to do launch debug, then ACAD has a prompt message. This is the bug logged by our tester:
Reproducible Steps:
1. Download the latest extension from
https://github.com/Autodesk-AutoCAD/AutoLispExt/releases/tag/v1.3.5-e89e0583505fa944bf959348745e8caf8ff6b47c.0
2. Open a lisp in vscode
3. Press F5 and choose launch
Actual Result:
Sequoia will pop up a below message dialog
AutoCAD Message
Cannot find the specified drawing file.
Please verify that the file exists.
OK
##### Abstractions
I think this bug is introduced by this PR #55
If user doesn't fill any thing in the `Paramter ` field in the extension setting, then it will fill null to API `vscode.DebugAdapterExecutable`. It looks like this API will translate null to some bad file parameter inside to ACAD.
I think this PR this PR #55 introduced the point that the parameter can be null. So it introduced this issue.
##### Tests performed
- retest the bug mentioned above, and test debug launch mode with/without start parameters.

##### Screen shot
Not applicable, only bugfix
Copy file name to clipboardExpand all lines: DevREADME.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,14 @@
3
3
AutoCAD Lisp Extension is a vscode extension for debug AutoCAD AutoLISP. The Extension plays the roles of both debug adapter and language server which could enable you debug lisp with AutoCAD. The following description is for developers.
4
4
5
5
## How to setup the Dev env and compile the code
6
-
7
-
You could do all the steps in the script pack.py, it is python2; or run it directly:
6
+
Firstly you should make sure you have installed python and NodeJS.
7
+
Then you could do all the steps in the script pack.py, it is python2; or run it directly:
8
8
```
9
9
cd AutoLispExt
10
+
npm install --global gulp-cli
10
11
python pack.py
11
12
```
13
+
12
14
### How to compile the codes
13
15
The script pack.py will copy some utility files to correct location for making package. After run that script and then change some TS codes, you can also use the follow command to compile codes simply:
0 commit comments