Autodesk University
Going on a Bug Hunt: Debugging and Handling Errors in AutoLISP®
Lecture    DV1543
Lee Ambrosius
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-firstName] [up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-lastName]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-badges]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-firstName] [up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-lastName]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-jobTitle]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-company]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-metrics]
Share Share
Comment Comment
Bookmark Bookmark
You must be signed in for this action Sign in
Close
Autodesk University
Collapse Expand

Description

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.

Key Learnings

  • 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

Speakers

userPhoto.jpg
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.
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-firstName] [up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-lastName]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-badges]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-firstName] [up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-lastName]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-jobTitle]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-company]
[up-JPaKaXFtvduScz%2FTOtGxxw%3D%3D-metrics]

Share Class

close-24

Comments

Login to join the discussion.
0 comments in this class
Be the first to share your thoughts.
close-24