SourcePoint Intel Help

Table of Contents

taskend

Stop debugging a task on the target operating system.

Syntax

taskend(vp)

Where:

vp

is an integer that specifies the viewpoint of the task being debugged.

Discussion

The taskend command causes the debugger to stop debugging a task that is running on the target operating system. If the task was started using Taskstart, then the debugger halts the task and closes the context of that debugging session. If the task was attached to using taskattach, then the debugger allows the task to continue running but releases control and disconnects from the task.

Note: When debugging a task on a target operating system, the value of the viewpoint for that task is always 40H or higher. This differentiates task viewpoints from processor viewpoints, which are always 0H to 3FH.

Example

To stop debugging the target operating system program whose viewpoint is 40H.

Command input:

taskend(40H)

Result:

0001H

Related Topics: