JavaScript Troubleshooting Tools?
Posted: Fri Nov 07, 2025 8:52 pm
Does QCAD have any built-in tools to help with JavaScript troubleshooting?
I've written some JavaScript and have run this script in QCAD successfully. However, upon modification of this code I now get a parse error message in the Message Window.
Side note: I do not know if the phrase "Message Window" is the correct term - but this is the window where I can enter coordinates and commodes such as "paste." This same window tends to display relevant text information pertaining to recent commands issued. (such as the parse error message I am writing about)
I have reason to believe there is something called a "Script Console" built into QCAD that might help me determine the exact error in my JavaScript code. However, I have been unsuccessful in finding the Script Console.
It would very useful if, at least, I knew which line number the interpreter stopped running. I could probably try locating an online widget suited for debugging JavaScript code, but I figured it is worth checking here to see if QCAD has a widget tool that can help me fix my script.
I am using QCAD version 3.24.3.0 (3.24.3) running on Windows 11 Pro.
Thanks!
HS
I've written some JavaScript and have run this script in QCAD successfully. However, upon modification of this code I now get a parse error message in the Message Window.
Side note: I do not know if the phrase "Message Window" is the correct term - but this is the window where I can enter coordinates and commodes such as "paste." This same window tends to display relevant text information pertaining to recent commands issued. (such as the parse error message I am writing about)
I have reason to believe there is something called a "Script Console" built into QCAD that might help me determine the exact error in my JavaScript code. However, I have been unsuccessful in finding the Script Console.
It would very useful if, at least, I knew which line number the interpreter stopped running. I could probably try locating an online widget suited for debugging JavaScript code, but I figured it is worth checking here to see if QCAD has a widget tool that can help me fix my script.
I am using QCAD version 3.24.3.0 (3.24.3) running on Windows 11 Pro.
Thanks!
HS