TotalView User Guide : Part V: Debugging : Examining and Changing Data : Viewing a List of Variables : Using the Expression List with Multi-process/Multi-threaded Programs

Using the Expression List with Multi-process/Multi-threaded Programs
You can change the thread in which TotalView evaluates your expressions by typing a new thread value in the Threads box at the top of the window. A second method is to select a value by using the drop-down list in the Threads box.
When you use an Add to Expression List command, TotalView checks whether an Expression List Window is already open for the current thread. If one is open, TotalView adds the variable to the bottom of the list. If an Expression List Window isn’t associated with the thread, TotalView duplicates an existing window, changes the thread of the duplicated window, and then adds the variable to all open Tools > Expression List Windows. That is, you have two Tools > Expression List Windows. Each has the same list of expressions. However, the results of the expression evaluation differ because TotalView is evaluating them in different threads.
In all cases, the list of expressions in all Tools > Expression List Windows is the same. What differs is the thread in which TotalView evaluates the window’s expressions.
Similarly, if TotalView is displaying two or more Tools > Expression List Windows, and you send a variable from yet another thread, TotalView adds the variable to all of them, duplicates one of them, and then changes the thread of the duplicated window.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com