FS#323Exceptions in headless scripts
- Type
- Feature Request
- Status
- Closed
- Resolution
- Implemented
- Category
- ECMAScript
- Severity
- Low
- Priority
- Low
- Reported version
- 3 Beta 3
- Target version
- 3.0.0
- Operating system
- Linux (All / Other)
- Reported
- 2011-10-20 by hungerburg
- Closed
- 2011-10-21 by andrew
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…
Comments (1)
You're of course right. We will have to look into that.
Notes for myself:
- QScriptEngine::signalHandlerException
- disable debugger