Page tree
Skip to end of metadata
Go to start of metadata

Summary: this page describes how to view an object's source code

Introduction

It is possible to view object source code direct in CAST Imaging. Source code is available in objects after a drill down from Level 5:

Click to expand

To view the source code of objects in CAST Imaging, a one-time configuration process is required first - see Configure the source code viewer.

Viewing source code

Right click the object after a drill down from Level 5 and choose Show source code:

Source code will be auto scrolled to highlighted object:

Code is collapsed by default and limited to 200 lines, click to expand in groups of 200 lines, then 100, 20 and any remaining under 10:

Where an object is represented in multiple files, all files will be shown:

You can also toggle colours using the gear icon:

  • Objects with over 7000 lines of code (LOC) will show only 500 lines above and below the item.
  • If access to source code is not configured, a popup message will be displayed:

  • If source code has been configured, but none is available for the current object (typically this is when the object is classed as "external to the application"), a different message will be displayed:

  • No labels