Application Engine

Usability improvements in the Process Editor

These improvements are available:

  • The Process Editor comes with an enhanced code analysis for the code compilation. Use the Settings dialog box to choose from these options:
    • Unused variables detection generates a warning when a variable is declared but not used.
    • Unused process parameter detection generates a warning when a process parameter is declared but not used.
    • Unused return value detection generates a warning when the return value of a function/method is not checked.
    • Unused include detection generates a warning when an included process is not used. The default is enabled.
    • Unreachable code detection generates a warning when a process contains a block of code that cannot be reached. The default is enabled.
    • Connection leak detection generates a warning when a connection is opened but not closed, or an object is not disposed. The default is enabled.
    • Async call analysis generates a warning when a process is started asynchronously in a loop. The default is enabled.
    • Expression analysis generates a warning when an expression can be simplified.
    • Obsolete function call detection generates a warning when an obsolete function is used. The default is enabled.
    • Never-ending loop prediction generates a warning when a never-ending or suspicious loop is detected.
  • The code analysis can be executed for the whole project when compiling processes. You can use the Compile All Processes dialog box to run it with all, or the currently enabled, code analysis options. Compilation messages are clearly listed and allow interaction. A click on a message jumps to the related place in the process.
  • Included processes are listed with their dependencies on the Includes tab.
  • Breakpoints can be toggled using Shift+F9. The breakpoints are listed on the Breakpoints tab where you can start or stop them.
  • The text editor was improved to highlight the current line and enable hyperlinks and email addresses. Additionally, you can use code folding to hide and display nested parts of the code. There are additional settings to:
    • Convert tabs to spaces
    • Show marks for tabs
    • Show marks for spaces
    • Show marks for the end of line{}
  • Use the new ParameterDebuggerValue function to debug and test processes which use input parameters.
  • Use F12 in the text editor where another process is included to open it.