In general, there are some protections in the code. For example, if you’re displaying items in an
Expression List Window, TotalView avoids being in an infinite loop by only evaluating items once. This does mean that the information is only accurate at the time at which TotalView made the evaluation.
In most other cases, you’re basically on your own. If there’s a problem, you’ll get an error message. If something takes too long, you can press the Halt button. But if a function alters memory values or starts or stops processes or threads and you can’t live with it, you’ll need to restart your program. However, if an error occurs while using the
Evaluate Window, pressing the
Stop button pops the stack, leaving your program in the state it was in before you used the
Evaluate command. However, changes made to heap variables will, of course, not be undone.