Break Command

This command pauses thread execution if the thread is active. The thread may be resumed with a Continue command or debugged with a Step command. To complete remove the thread, use the Stop command.

Break thread_name

Prerequisites

The specified thread must have been created by a Start command and be actively executing.

Parameters

thread_name

The name of the thread to be paused.

Remarks

This pauses a thread that was created by a Start command. Unlike the Stop command, it does not release any system resources that are allocated to the thread.

The thread can be resumed with a Continue or Step command. To completely restart a thread requires a Stop command followed by a Start command.

Examples

Start My_project
My_project: Running
Break My_project
Thread My_project: Paused
Continue My_project
My_project: Running

See Also

Console Commands | Continue Command | Step Command | Stop Command