Library /sys$common/syshlp/dbg$uihelp.hlb DEBUGUI, task *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Tasking programs have multiple threads of execution within a process and include the following: - Programs written in any language that use DECthreads or POSIX 1003.1b services. - Programs that use language-specific tasking services (services provided directly by the language). Currently, Ada is the only language with built-in tasking services that the debugger supports. Within the debugger, the term task denotes such a flow of control regardless of the language or implementation. The debugger's tasking support applies to all such programs. The debugger lets you display task information and modify task characteristics to control task execution, priority, state transitions, and so on. The following paragraphs summarize the tasking features of the debugger's DECwindows Motif interface. For more information about the debugger's tasking support, see the manual provided with this debugger. Displaying Information about Tasks: To display information about one or more tasks of your program, choose Views... from the Options menu on the main or optional view window. When the Views dialog box appears, toggle tasking view. The tasking view gives information about all currently existing (nonterminated) tasks of your program. The information is updated whenever the debugger regains control from the program. The displayed information includes: - The task ID. The arrow in the left column marks the active task---the task that runs when you click on the Go or Step push button. - The task priority. - Whether the task has been put on hold. - The current state of the task. The task in the RUN (running) state is the active task. - The current substate of the task. The substate helps indicate the possible cause of a task's state. - A debugger path name for the task (thread) object or the address of the task object if the debugger cannot symbolize the task object. Changing Task Characteristics: To modify a task's characteristics or the tasking environment while debugging, choose one of the following items from the Tasks menu on the optional view window: Action Function ------ -------- Abort Requests that the selected task be terminated at the next allowed opportunity. The exact effect depends on the current event facility (language dependent). For Ada tasks, this is equivalent to executing an abort statement. Activate Makes the selected task the active task. Hold Places the selected task on hold. Nohold Releases the selected task from hold. Make Makes the selected task the visible task. Visible All -> Uses the submenu to: Abort all tasks Release all tasks from hold To save these modifications for subsequent debugger sessions, choose Save Options from the Options menu on the main or optional view window. This creates a new version of the debugger resource file with the new definitions.
|