Asset 12 Asset 10 Asset 11 autodesk_icon_font_1_18_17_start_over-01

Keyboard ALT + g to toggle grid overlay

Lee Ambrosius

DV1543: Going on a Bug Hunt: Debugging and Handling Errors in AutoLISP®

  • Save to my AU Saved

Key Learning

Key Learning

  • 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

Description

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.

Target Audience

Target Audience

Attendees who currently have some experience with AutoLISP and want to learn how to perform debugging tasks and handle errors more efficiently

Speakers

Speakers

Lee Ambrosius

Lee Ambrosius is a Principal Learning Content Developer at Autodesk, Inc for the AutoCAD and AutoCAD LT products. He currently works primarily on the CAD administration, customization, and developer documentation. Lee has also worked on the user documentation for AutoCAD on Windows and Mac. He has presented on a wide range of topics at AU over the past 9 years, from general AutoCAD customization to ObjectARX. Lee has authored a number of AutoCAD related books under the For Dummies brand and been a technical editor for a number of other AutoCAD related books over the years. When not writing, you can find him roaming various community forums, posting articles on his blog, or tweeting AutoCAD related information.

Related Classes

Related Classes

Tags

Published

  • 2013
  • DV1543
  • AU Las Vegas

Software

  • AutoCAD

Topics

  • Developer