FOMOH2124
Could not add event to task: number, because it is in state: "string".

Explanation

You issued a trace or stop command against the task specified in the message. No action was taken on behalf of this task because the task was not in DEBUG READY state.

System action

If the task is unhooked, the hook command will bring the task to DEBUG READY state. If the task is RUNNING, the halt command will interrupt the task and bring it to DEBUG READY state. If the task has exited, events cannot be set.