Semihosting support in the debugger
The debugger normally detects if your application is using semihosting and automatically enables the support in the debugger. However, you can override this automatic detection and set the support to be on or off.
To change the option:
right-click on the project and select Launch configurations->Open current launch configuration
- in the dialog, switch to the Debugger tab
in the Script Values list, change "Semihosting support" to on, off, or auto
where:
on always enables semihosting support for this debug configuration
off always disables the semihostng support for this debug configuration.
auto detect if the application uses semihosting and enable support if it is used
Why should I care?
On some architectures semihosting will use one of the breakpoint/watchpoint units on the CPU. breakpoint/watchpoint units are a limited resource on all CPU targets. On some CPUs there are as few as 2 breakpoint/watchpoint units, and so disabling semihosting can make a significant difference.
