Excluding a Node from Instrumentation

In some cases, you might want to exclude one or several source files from the instrumentation process. This can be done directly in the Project Explorer, as described below, or through the Properties window.

  • Instrumented files are displayed with a blue icon

  • Non-instrumented files are displayed with a white icon

You can combine both of the following methods to exclude or include a large number of files from the instrumentation process.

To exclude entire directories from instrumentation:

  1. In the Project Explorer, click the Settings button.

  2. Select Runtime Analysis, General Runtime Analysis and Selective Instrumentation.

  3. In Directories excluded from Instrumentation, add the directories to be excluded.

  4. Click Ok.

To turn off instrumentation for an individual node:

  1. In the Project Explorer, select the node that you want to exclude from the build.

  2. In the Properties window set the Instrumented property to No.

Related Topics

Excluding a Node from a Build | General Runtime Analysis Settings