This tutorial, which is targeted at novice users, describes a minimum but complete
scenario for using TPF Toolkit. By following the key
tasks that are listed in this tutorial, you can quickly familiarize yourself with the core features
of TPF Toolkit. The tutorial also provides some
additional resources for you to explore the C/C++ Development Toolkit (CDT).
About this task
This tutorial describes a procedure based on the base features of the TPF Toolkit product. Your administrator can modify or extend
the base features. For example, your administrator can customize the sample TPF project template or
sample project configuration file to the needs of your organization. The changes that your
administrator makes might affect this procedure.
Procedure
-
Configure TPF Toolkit:
-
Configure a remote
connection.
-
Configure a z/TPF system.
-
Develop z/TPF applications:
-
Create a TPF project.
-
Add source files from your source code control system to the TPF project. For more information,
see Adding files from remote systems.
-
Build your z/TPF applications.
- Load and optionally test your
z/TPF applications.
- Test z/TPF applications.
-
Debug your z/TPF applications:
-
Create a debug session with the
applications that you built in step 3 specified
in the Program Name field.
-
Register the debug session with a
z/TPF system.
-
Run the registered programs on the z/TPF system.
When the programs are entered on the z/TPF system,
TPF Toolkit prompts you to select whether to switch
to the Debug perspective.
-
Click Yes to open the Debug perspective.
-
If automatic source lookup support is not enabled, locate source files manually.
-
Step through your source code by using the main toolbar buttons such as Step
Into,Step Over, and Step Return.
-
Use the various views that the Debug perspective provides to do more
analysis.
-
In the main toolbar, click Run or Terminate to
end the debug session.
-
Cancel the debug session registration.
-
Analyze code coverage for the z/TPF applications.
What to do next
Eclipse CDT, which is integrated in
TPF Toolkit, provides modern editor features that
help you write your application code. You are encouraged to explore CDT and try the features in your source code.For more
information about using
CDT to help you write
code, see the following resources: