Use this page to activate the debugger's support for system calls and to select options that define how the debugger handles system calls. The CodeWarrior debugger provides system call support over JTAG. System call support lets bareboard applications use the functions of host OS service routines. This feature is useful if you do not have a board support package (BSP) for your target board. The host debugger implements these services. Therefore, the host OS service routines are available only when you are debugging a program on a target board or simulator.
The following table describes the settings on the System Call Services panel.
| Option | Description |
|---|---|
| Activate Supportfor System Services | Check this option to enable support for system services. All the other options on the System Call Services panel are enabled only if you check this checkbox. |
| stdout/stderr | By default, the output written to stdout and stderr appears in a CodeWarrior IDE "console" window. To redirect console output to a file, check the stdout/stderr checkbox. Click Browse to display a dialog box and specify the path and name of this file. |
| Use sharedconsole window | Check this option if you wish to share the same console window between different debug targets. This setting is useful in multi-core or multi-target debugging. |
| Trace level | Use this dropdown list to specify the system call trace level. The place where the debugger displays the traced system service requests is determined by the Trace checkbox. The system call trace level options available are:
|
| Trace | By default, traced system service requests appear in a CodeWarrior IDE "console" window. To log traced system service requests to a file, check the Trace checkbox. Click Browse to display a dialog box and define the path and name of this file. In a project created by the New Project wizard, use the library syscall.a rather than a UART library for handling the output. |
| Root folder | The directory on the host system which contains the OS routines that the bareboard program uses for system calls. |