Page 1 of 1
debuggind lisp in intellicad 6.3
Posted: Fri Aug 24, 2007 7:19 pm
by Jhun
Hi
What is the best way or easy way on debugging LSP in intellicad. Is there any method?
Any suggestion is greatly appreciated
Thanks in advance
Jhun

Posted: Mon Aug 27, 2007 12:35 am
by John Finlay
Jhun
Do you mean by "debugging in IntelliCAD" that there is no Integrated Development Environment (IDE)?
Lisp is just a text file so you can edit it in notepad.
There are IDE's freely available on the web that will do things such as count the left and right parentheses to make sure these balance etc.
Posted: Mon Aug 27, 2007 8:23 am
by CAD_B
Jhun,
You may want to look at this website :
http://autocad.xarch.at/news/faq/autolisp.html#3 . Look at the table of contents, item [3].
Posted: Mon Aug 27, 2007 3:20 pm
by CAD_B
Jhun,
I should have mentioned that debugging lisp programs is made much easier by using a programmer's editor. I use UltraEdit, but there are many others. At a minimum, look for an editor that is capable of parenthesis matching (also called brace or bracket matching) to make sure you have the same number of open and close parentheses. UltraEdit also has syntax highlighting to help separate lisp function names and variables. I believe there is a lisp-specific editor called LispLink, but I don't know much about it. Good luck.
Posted: Mon Aug 27, 2007 11:17 pm
by Danielm103
CAD_B wrote:
... I believe there is a lisp-specific editor called LispLink, but I don't know much about it. Good luck.
I use lisplink, IMO it’s a great tool
www.caelink.com
Dan
Posted: Tue Aug 28, 2007 7:45 am
by Jhun
Thank you so much to all of you, All of your suggestion is great. But as of now I am using the suggestion of CAD_B, I will try later using lisplink. Again thank you so much. It will give a big big help for me
Jhun
Re: debuggind lisp in intellicad 6.3
Posted: Fri Jul 17, 2020 6:58 am
by gelswick
In 2020 use notepad++.
The above links are broken...
Gary
Re: debuggind lisp in intellicad 6.3
Posted: Sun Jul 19, 2020 7:06 pm
by QuanNguyen
Hi Gary,
You can use the Visual Studio Code with AutoLISP Extension.
Here are some of the major features of the text editor:
- color coding
- formatting of text
- parenthesis matching
- highlight syntax
For detail please refer:
-
Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.
https://code.visualstudio.com/
-
AutoLISP Extension: This extension adds support for AutoCAD AutoLISP source (LSP) files to Visual Studio Code.
https://marketplace.visualstudio.com/it ... utolispext

- VisualStudioCode.png (94.28 KiB) Viewed 7664 times