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
#2
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.
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.
#3
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].
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].
#4
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.
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.
#5
I use lisplink, IMO it’s a great tool www.caelink.comCAD_B wrote: ... I believe there is a lisp-specific editor called LispLink, but I don't know much about it. Good luck.
Dan
Re: debuggind lisp in intellicad 6.3
#8Hi 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
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