step_granularity Environment Variable

Related Topics:

Setting Step Granularity Environment Variables
dbxenv Command

The step_granularity environment variable determines the granularity of source line stepping; that is, the number of next commands needed to step through a line of code.
step_granularity statement | line Controls granularity of source line stepping. When set to statement the following code:
a(); b();
takes two next commands to execute. When set to line a single next command executes the code. The granularity of line is particularly useful when dealing with multi-line macros. Default: statement.


Note - Granularity of statement might not always achieve the desired effect because the compiler might not have emitted information about statement boundaries.