Prerequisites to monitoring applications
Before you can monitor a cyclic executive application, you must import your project to HCL OneTest™ Embedded for Eclipse IDE, configure HCL OneTest™ Embedded for Eclipse IDE and your application, and build your project.
To monitor an application, you must first complete the following tasks:
- Create or import a project with a source file in C language. A sample monitoring project is delivered with HCL OneTest™ Embedded for Eclipse IDE. You can import it to get started with the monitoring feature. See Importing a monitoring project example.
- Enable monitoring in your application. You must enter a dedicated pragma command in the main loop of your application to enable HCL OneTest™ Embedded for Eclipse IDE to access the global variables. See Enabling monitoring in your application.
- Configure the build and the monitoring settings in HCL OneTest™ Embedded for Eclipse IDE. See Configuring the build and the monitoring settings. If you want to use the command line interface to activate the monitoring feature in HCL OneTest™ Embedded for Eclipse IDE, see Test automation commands for running monitoring scripts and creating reports.
- Run the application. See the note in Configuring the build and the monitoring settings.
The monitoring procedure is described in Recording a monitoring script.