Witness 27.0 Release Notes


What’s new?

  • Debugger:
    • Added resizable panes to allow resize of code, watch and local panes.
    • Single click in code pane margin to toggle breakpoints.
    • Added the up/down sort arrows to the watch expression and local panes and persist the sort order between debug sessions.
    • Labels for parameters in the locals window now appear in bold font.
    • Add watch expressions direct from the code window selected text with an add watch context menu item.
    • Watch expressions can now be edited in the watch panel using the standard second mouse click to ‘in place’ edit the expression.
    • Step Out jumps to the next statement in the calling action of the action block currently visible.
    • Added the accelerators for the debugger:
      • F5 continues executing the model in the current execution mode.
    • Use same Color Editor, Tab Size and Font settings in code window as Actions Editor.
  • Shift+F5 stops execution of the model.
  • Ctrl+Shift+F5 terminates the model run.
  • F9 toggles the breakpoint on the selected line of code (if one is selected).
  • F10 steps over the current line of code.
  • F11 steps into the current line of code.
  • Shift+F11 steps out of the current action block.
  • Stop & Detail stops the current debug session and jumps directly to the actions shown in the code window.
  • Distribute Horizontally / Vertically is now available alongside Align for graphics objects.
  • The version field in Model/Title now displays the version number the model was created in.
  • The Creation Date field on Model/Title has been renamed to Modified Date.
  • DTDeleteRow deletes one or more data table rows.
  • DTSort sorts a specified data table column in ascending or descending order.
  • Update Model Options to control the generation of journey logs.
  • Added Vehicle journey logs.
  • Added Path and Pseudo Path journey logs.
  • Used Report can be run for Actions.
  • Used Report shows Set for Functions and Actions that change elements.

 

 

Feature Improvements

  • Updated Experimenter so that it can reliably upload and download files of at least 20gb when running in the cloud (Witness io).
  • Functions DTFindNum, DTFindStr, DTFindName will not produce run-time errors when the data table is empty; instead, they will return 0 to indicate that the value was not found therefore removing the requirement to code that check in actions.
  • Functions DTFindNum, DTMin, DTMax, DTMean, DTMode and DTStdDev  will not require data table instance number to be typed in for single-instance data tables.
  • Functions AtState, FPUtil, FSUtil, PUtil, SUtil will no longer report an error when invalid state is queried. This is to allow collection of data in for loops without the need of handling each element type differently.
  • Display item drawing mode (individual or grouped) button will indicate the current mode even if mode change is not permitted.
  • COM naming has been modified to be consistent.

Fixes

  • Used report references "Actions on Join" for Actions on Join in a Conveyor.
  • Used Report: Invoke the direct jump to actions.
  • Change Detail Properties order for Machine and Processor Start Actions to represent order of execution.
  • Element Tree/Model Assistant Ctrl-I shortcut works.
  • Vehicle explode reports did not show the full hierarchy in the Destination field.
  • Vehicle explode reports did not show the descriptive name in the Destination field.
  • Vehicle explode reports for Vehicle demand lists did not show the full hierarchy for the last entry in the Vehicle search at field.
  • Backdrop Icon has 3D Option.
  • Intellisense in text fields is disabled.
  • In actions/property edit mode, Ctrl-Click on the Element Tree inserts element name at the current cursor position and retains the focus in the action/property.
  • Display Properties popup editor commits droplist change.
  • Fluid Rules are Cloned with Machines.
  • Fix crash when setting diagonal queue offset to integer.
  • Prevent Experimenter from stopping when running replications on multiple cores and the license share count is less than the number of physical cores.
  • The property grid and GetXPosn and GetYPosn functions now return the location of the rear node on the first segment for a Path rather than the paths base position.
  • Align reverted to use first selected item as the position to align to.
  • Stop changing Layer losing the graphical selection outline.
  • The German Detail Properties toolbar button now displays a tooltip.
  • The Spanish Detail Properties toolbar button now displays a tooltip.
  • The Polish Descriptive Name toolbar button now displays a tooltip.
  • Update the Polish startup model so that Polish characters are displayed correctly in the interact box.
  • Speed up functions when called from Immediate Actions.
  • Stop Element properties from being changed while running.
  • Allow Labor to be set back to "Always available".
  • Fix Labor attach attribute explode report.
  • Tutorial Workbooks One and Two updated in line with Display and Detail Properties.
  • Display expressions now have correct context when validating, previously using element in a module failed.
  • Stop Designer Elements with modules duplicating themselves.
  • Fix issue with Witness Experimenter API (advanced mode), no longer fails adding parameters for non-English versions.
  • Use relative file paths in modules created from designer Elements modules.