Please enable JavaScript to view this site.

Memory Validator Help

Navigation: The User Interface > Settings > Global Settings Dialog > Data Display

Source Browsing

Scroll Prev Top Next More

The Source Browsing tab allows you control how much source code is displayed and some basic formatting.

 

The default options are shown below:

 

source-browsing-settings

 

 

Source browsing

 

When expanding a callstack to view the source code, you can choose to see the whole function or a few lines either side of the line of interest.

 

Show entire function instructionStep shows the whole function source as shown here:

 

source-browsing-func

 

 

 

Show lines instructionStep shows a given number of lines before and after the point of interest:
 

Lines before trace instructionStep number of lines before, from 0 to 100

 

Lines after trace instructionStep number of lines after, from 0 to 100

 

The default is to show 5 lines above and below, as shown here

 

source-browsing-5

 

 

note Changing these settings will affect any new callstacks which are expanded, but will not reformat any that have already been opened.

 

 

Source browsing - how much to show?

 

Showing the entire function is more likely to show the full context of the allocation or deallocation line, but if you have particularly long functions it may become cumbersome to browse the callstack data!

 

Because of the unpredictable lengths of showing entire functions, this is not the default setting.

 

Showing a set number of lines reduces the amount of source display to something that is consistent and manageable, but you may see parts of neighbouring functions that are not relevant (as above), and you may not see enough of the preceding lines to determine the allocation context.

 

 

Tab size formatting

 

When formatting the source code being displayed you can control the tab size

 

Tab width instructionStep set the tab size between 1 and 16 characters

 

 

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

 

 

Reset - Resets the settings on the current page.