When you restart your program, TotalView must identify the thread in which the variable existed. For example, suppose variable
my_var was in thread 3.6. When you restart your program, TotalView tries to rebind the thread to a newly created thread. Because the order in which the operating system starts and executes threads can differ, there’s no guarantee that the thread 3.6 in the current context is the same thread as what it was previously. Problems can occur. To correct rebinding issues, use the
Threads box in the upper left-hand corner of the Variable Window to specify the thread to which you want to bind the variable.
Another way to use the Threads box is to change to a different thread to see the variable or expression’s value there. For example, suppose variable
my_var is being displayed in thread 3.4. If you type 3.5 in the Threads box, TotalView updates the information in the Expression List Window so that it is what exists in thread 3.5.