Semihosting is supported by the debugger in both the command-line console and in Eclipse.
- Command-line console
By default all semihosting messages (
stderr) are output to the console. When using this console interactively with debugger commands you must use the
stdincommand to send input messages (
stdin) to the application.
Alternatively, you can disable semihosting in the console and use a separate telnet session to interact directly with the application. During start up, the debugger creates a semihosting server socket and displays the port number to use for the telnet session.
The App Console view within the DS-5 Debug perspective controls all the semihosting input/output requests (
stderr) between the application code and the debugger.