Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Figure 15. The Thread Window

Choose Thread from the Code menu to display Thread window.  This window
displays the system ID of each thread, the state of the thread, and under
some operating systems, system specific information about the thread
including its name and scheduling priority.  The state of each thread can
be:

current
    This is the thread that was running when the debugger was entered.  It
    is the thread that hit a break point or error.  When you trace through
    the application, only the current thread is allowed to run.

runnable
    This thread will be allowed to run whenever you let your program run,
    but will not run when you trace the program.

frozen
    This thread will not be allowed to run when you resume your program.

dead
    Under some operating systems, threads that have been terminated still
    show up in the list of threads.  A dead thread will never execute again.

You can make any thread current by double clicking on it or cursoring to it
and pressing ENTER.  All other debugger windows update accordingly.  Press
the right mouse button to access the following pop-up menu items:


Switch to
    Make the selected thread current.

Freeze
    Change the state of the selected thread to be frozen.  You cannot freeze
    the current thread.

Thaw
    Change the state of the selected thread to be runnable..  The current
    thread is always runnable.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson