The Source Browsing tab allows you control how much source code is displayed and some basic formatting.
The default options are shown below:
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 shows the whole function source as shown here:
•Show lines shows a given number of lines before and after the point of interest:
•Lines before trace number of lines before, from 0 to 100
•Lines after trace number of lines after, from 0 to 100
The default is to show 5 lines above and below, as shown here
Changing these settings will affect any new callstacks which are expanded, but will not reformat any that have already been opened.
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.
When formatting the source code being displayed you can control the tab size
•Tab width 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.