Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Debugging scripts



The debugScripts framework property can be set to simplify debugging Groovy or Python scripts.

Default behavior

If the debugScripts property is turned off, the default behavior when a runtime error is encountered in a script is that the console will show the exception stack trace, such as:
pythonDebugConsole

Debugging behavior

If the debugScripts property is turned on, the framework will additionnally show a Popup window allowing to navigate in the source for the Stack trace for the first encountered exception. For example:
pythondebug

Example

The following configuration file turns on the debugScripts property.
      <files>
      ...
         <property key="debugScripts" value="true" />
      </files>

See also


Categories: concepts

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence