◄Summary► ◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── With the Thread (~) command, only the ~S (select) and ~E (Animate) variations cause CVP to switch the current thread. However, when a thread causes program execution to stop by hitting a breakpoint, the debugger selects that thread as the current thread. You can prevent the debugger from changing the current thread by including the command "~.S" in a Breakpoint Set (BP) command. The "~.S" command instructs the debugger to switch to the current thread rather than to the thread that hits the breakpoint. For example, the command BP .120 "~.S" sets a breakpoint at line 120 and prevents the current thread from changing. See: ◄Breakpoint Set (BP) Command-Window Command► -♦-