QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)


FS#323 - Exceptions in headless scripts

Attached to Project: QCAD
Opened by Peter (hungerburg) - Thursday, 20 October 2011, 13:17 GMT+1
Last edited by Andrew (andrew) - Friday, 21 October 2011, 13:01 GMT+1
Task Type Feature Request
Category ECMAScript
Status Closed
Assigned To Andrew (andrew)
Operating System Linux (All / Other)
Severity Low
Priority Normal
Reported Version 3 Beta 3
Due in Version 3.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The capability of running headless, ie. without GUI, is a very welcome addition to QCAD. I suggest one more improvement:

When an exception occurs in a script (running from autostart) and no-gui was opted for on the command line, QCAD should not try to bring up the debugger ever (regardless of any preferences), but print the message of the exception and possibly a backtrace instead.

Otherwise all errors will produce the same messageā€¦

This task depends upon

Closed by  Andrew (andrew)
Friday, 21 October 2011, 13:01 GMT+1
Reason for closing:  Implemented
Comment by Andrew (andrew) - Thursday, 20 October 2011, 13:30 GMT+1

You're of course right. We will have to look into that.

Notes for myself:
- QScriptEngine::signalHandlerException
- disable debugger