Please enable JavaScript to view this site.

Coverage Validator Help

 

The Code Viewing tab allows you to configure some options when viewing the source code pane.

 

settings-codeviewing

 

 

Source Code Viewing Pane

 

The source code pane is displayed on the right hand side of most of the main tabs:

 

Coverage

Branch Coverage

Functions

Directories

DLLs

Unit Tests

Files and Lines

 

 

Syntax highlighting

 

Usually the source code shows a colour coded syntax:

 

Enable syntax colouring... instructionStep Untick if you don't want colour coded syntax

 

 

Visit count tooltips

 

Tooltips showing the visit count may be useful if you've disabled the display of the visit count in the source code.

 

Enable tooltips... instructionStep Tick if you want tooltips like the one below

 

source-code-tooltip

 

 

Collapsing lines

 

You may want to temporarily collapse sections of source code you're not interested in.

 

Enable collapsing lines... instructionStep Check this to enable collapsing lines (see below)

 

 

To create a collapsible region:

 

left_mouse_buttonLeft click drag (up or down) in the dark grey margin immediately to the left of the source code. Release the mouse at the end of  the region you want to collapse.

 

note Page up/down and mouse-wheel scrolling works during the drag if you want to select more than you can see.

 

A 'collapse line' will appear as below:

 

collapsing-lines

 

To collapse the region,left_mouse_buttonleft click anywhere on the collapse line, and the region will reduce to a single grey highlighted line:

 

collapsed-lines

 

To expand the region again,left_mouse_buttonleft click the collapsed-lines-expand symbol.

 

To remove the collapsible status,right_mouse_buttonright click anywhere on the collapse line.

 

 

note A collapsible region that spans right across another region will take precedent and the smaller regions will be removed.

 

note Creating a region that partially overlaps another will merge them into one.

 

 

Auto update

 

Viewing the source code while your program is still running may cause the view to update as you browse.

 

Updates happen once a second by default, but you can change this interval in the local settings of each tab view.

 

Reasons you might want to also disable the auto-update could be:

 

You want to keep an eye on the statistics, but still browse the source code without it updating every second

 

You may find that very large files are slow to update regularly.

 

To disable the auto update:

 

Automatically update coverage colours... instructionStep Uncheck this to prevent the source code auto updating

 

Without auto-update, you'll need to use the manual refresh button found on each view.

 

 

Fully qualified file names

 

If the display of file names in the data is of a shortened format (as reported by DbgHelp), Coverage Validator can determine the fully qualified file name based on any source file locations you may have provided.

 

Always display fully qualified filenames... instructionStep Check to show complete file name paths where possible

 

 

Reset All - Resets all global settings, not just those on the current page.

 

 

Reset - Resets the settings on the current page.