Download Integrated Development Environment:User's Guide

Transcript
Create a log file
the System Information perspective, or any other perspective where you might have a
Target Navigator view.
To create a QNX Target System project:
1. In any perspective where you might have a Target Navigator view, right-click a
target, then select New QNX Target. If you don't have the Target Navigator view
open, select Window ➝ Show View ➝ Other… , and then QNX Targets ➝ Target
Navigator .
2. Specify a hostname or ID for your target and click Finish.
3. Create a launch configuration that is specific to the kernel event trace using the
instructions in Create a kernel event trace launch configuration (p. 331).
Consider deactivating Automatic Refresh during the data capture process to
ensure that the logging process doesn't encounter interference.
The System Profiler perspective also allows you to create Kernel Event Trace
log configurations using the log dropdown from the toolbar.
If you don't already have a target project, you'll have to create one.
To create a target project:
1. In the Target Navigator view, right-click and select New QNX Target.
2. Specify the required information for your new target.
3. Click Finish.
You can use this target project for a number of different tasks (debugging,
memory analysis, profiling), so once you create it, you won't have to worry about
defining your target again. Note also that the qconn target agent must be
running on your target machine.
Create a kernel event trace launch configuration
The IDE uses launch configurations to remember logging settings as well as running
programs.
To create a launch configuration specific to kernel event tracing:
1. In any perspective where you might have a Target Navigator view, right-click a
target, then select Log With ➝ Kernel Event Trace . You want to open the Log
Configurations dialog.
©
2014, QNX Software Systems Limited
331