CodeView (cv.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Thread Command (Notes)
 ◄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►
                                    -♦-