Totalview® User Guide : PART II Debugging Tools and Tasks : Chapter 8 Setting Action Points : Defining Eval Points and Conditional Breakpoints : About Interpreted and Compiled Expressions : About Compiled Expressions
About Compiled Expressions
TotalView compiles, links, and patches expressions into the target process. Because the target thread executes this code, eval points and conditional breakpoints execute very quickly. (Conditional watchpoints are always interpreted.) Also, this code doesn’t communicate with the TotalView host process until it needs to.
If the expression executes a $stop function, TotalView stops executing the compiled expression. At this time, you can single-step through it and continue executing the expression as you would the rest of your code.
Figure 105 – Stopped Execution of Compiled Expressions
If you plan to use many compiled expressions or your expressions are long, you may need to think about allocating patch space. For more information, see he section "Allocating Patch Space for Compiled Expressions".
 
RELATED TOPICS 
 
The TV::compile_expressions variable
TV::compile_expressions in "TotalView Variables" in the TotalView Reference Guide