Open topic with navigation
Debugging RTSS Applications
For overview and setup information on the Real-Time Debugger, see Debugging Applications in the RTSS Environment.
NOTE: Data and Hard-coded breakpoints are not supported.
To debug a RTSS application:
- Make sure IntervalZero Real-Time Debugger is selected as the debugger. Note that this debugger is automatically selected when the RTSSDebug configuration of the project is selected.
- From the Solution Explorer window, open the source file by right-clicking the file name and selecting Open, or by double-clicking the file name.
-
Rebuild your RTSS application using the RTSSDebug configuration.
-
Add breakpoints to your code.
- To start debugging, select Start Debugging from the Debug pull-down menu, or press the F5 key.
- The RTX Server console window opens and displays text from the program, if the application contains RtPrintf calls.
- While debugging, you can select to Set Breakpoints, Step Into, Step Over, Step Out, Continue or to Stop Debugging from the Debug pull-down menu. If you select Continue, program execution will continue until it completes or reaches another breakpoint. If you select Stop, program execution will halt.
After you have finished the debug session, you can close the RTX Server console window.
For a more comprehensive example of debugging a RTSS application, see MiniTutorial: Debugging Applications in Visual Studio.