The Diagram Trace Utility can communicate simultaneously with one or more generated applications locally or across a network using TCP/IP. The Diagram Trace Utility listens on its configured port number for connections from applications that have been started with the Trace mode enabled. Applications connect to the Diagram Trace Utility using the host and port number you configure as trace enabling options. Multiple applications or multiple instances of the same application can connect concurrently to the same Diagram Trace Utility port or to separately configured ports. Depending on the type of application being traced, the Diagram Trace Utility may create additional connections. The Diagram Trace Utility typically maintains these connections and closes them as needed.
You can manually close any of these connections. However, if you manually close a connection, the application continues execution without tracing. Depending on the type of generated application being traced, tracing may be resumed. In general, Web applications resume tracing as soon as a new browser Request is initiated.
Important! C-based applications do not resume tracing. You must restart C-based applications.
After an application connects to the Diagram Trace Utility, CA Gen PAD language statements sent from the application display in the PAD Code view of the Diagram Trace main window. The Diagram Trace Utility does not need access to generated application source code files. However, you must generate the application to be debugged with the Trace option enabled.
Note: You must start Diagram Trace before starting the target application to ensure a successful connection between the Diagram Trace Utility and the target application.
This section contains the following topics:
Configure and Start a Debug Session
Start the Generated Application
Use Breakpoints to Control Program Execution
|
Copyright © 2013 CA.
All rights reserved.
|
|