AutoLISP is designed to be easy to learn, but as programs become larger and more complex, you will need to learn to debug problems and catch errors. In this class, you learn how to debug programs, catch errors to keep your programs from terminating unexpectedly, create custom error handlers, and use undo markers to restore a drawing to its previous state. Debugging a program can be done through static messages or interactively using the Visual LISP Editor while your program is executing. To get the most from this class, you want to have prior experience with AutoLISP.
- Use AutoLISP functions to perform basic debugging and use the debugging function of the Visual LISP Editor
- Create custom error handlers for your AutoLISP routines
- Apply undo markers so you can roll back any changes made
- Catch and handle errors as they occur
Lee Ambrosius is a Principal Learning Experience Designer at Autodesk, Inc., for the AutoCAD and AutoCAD LT products on Windows and Mac. He works primarily on the customization, developer, and CAD administration documentation along with the user documentation. Lee has presented at Autodesk University for more than 10 years on a wide range of topics, from general AutoCAD customization to programming with the ObjectARX technology. He has authored a number of AutoCAD-related books, with his most recent project being AutoCAD Platform Customization: User Interface, AutoLISP, VBA, and Beyond. When Lee isn't writing, you can find him roaming various AutoCAD community forums, posting articles on his or the AutoCAD blog, or tweeting information regarding the AutoCAD product.