Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » halt

halt

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

void halt();

Description

The function stops both the debugged program as well as the simulation. The debugger window opens and the halt() command is displayed. The function thus creates a breakpoint while simultaneously interrupting the measurement in simulated mode (also for test modules). The simulation can be continued with <F9>. For usage in Real Mode, it is only activated for test modules and test configurations otherwise the halt instruction is ignored.

Parameters

Return Values

Example

on key 'h'
{
  halt(); 
  // Stops execution of the simulation in Simulation mode
}
Debugging