Search the Community
Showing results for tags 'dcl freezing'.
MrRokDok posted a topic in AutoLISP, Visual LISP & DCLA few questions: 1) DCL errors locks up autocad while running - need to kill Autocad using task manager 2) Autocad crashes when building a program that I forgot to save-all changes - even though it prompts me that i can save them. 3) Debug logging being cached, therefore, log messages being writting to a file with the application are incomplete. Some details: I have been using Autocad for many years, and wrote numerous programs in lsp, but newer at DCL. During development, of the DCL, actions, events, etc. I find that (due to my own coding errors) autocad locks up while testing the project that I am making. I have searched many hours over the past month, but have yet to find a solution where if an error occurs while starting the DCL or interacting with it, the interface stops responding and requires a task manager, kill autocad to start again. I have setup custom error traps, use VL-BT and a drawing log file (which actually dumps the error before I kill autocad. While I wish I can get the code right on the first time (maybe in a few decades), is there a better way to exit the dcl without killing autocad? One more item that I encounter is when in the Visual Lisp IDE, if I forget to "save-all" before building, I get a command prompt where it says I can save; however, it crashes autocad every time. is this normal? this behavior was in 2016 and 2018. Thanks for your help and suggestions.