Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Getting Started

When you run a Profiling session, almost every option you might need is available from the Profiler window toolbar. You can, for example, initiate the profiling session, attach to an already-running process, pause and resume profiling, stop the session, generate and view the Profile report or load a previously-generated report. You can also set Profiler options to modify the operation of the Profiler.

Access    Analyzer | Profiler

Toolbar Options



See also


Set Profiler options, using a drop-down menu; the options are:

Attach to Running Process - attach to and profile a process that is already running
Switch to debugger - (enabled when you are running the Profiler) end the profiling session and attach the debugger to the running process; available on Microsoft Native and Microsoft .NET platforms
Load Report - load and display a previously-generated report from an XML disk file
Analyzer Scripts ( Shift+F12 ) - display the Execution Analyzer window to  create or edit scripts and configure the debugger
Start Sampling Immediately - begin sample collection immediately upon either process start (main thread entry point executed) or attachment of process by the Profiler
Capture Debug Output - capture any appropriate debug output and redirect it to the System Output window
Stop Process on Exit - select to terminate the target process when the Profiler is stopped





Debugger Facilities



Analyzer Scripts


(When an application is configured for the package) create the Profiler process, which launches the configured application.


Managing Scripts

profsample ProfsampleOn

When the application is running, pause and resume sample capture.

Pausing sampling activates the Report and Discard Data buttons.




Stop the Profiler process; if any samples have been collected, the Report button is enabled.




Generate a report on the current number of samples collected.

Generate, Save and Load Profile Reports



Set the interval, in milliseconds, at which samples are taken of the target process; the range of possible values is 1 - 250.


Setting Options


Discard the collected data. You are prompted to confirm the discard.




Display the Help topic for this window.



Learning Center topics

Alt+F1 | Enterprise Architect | Execution Analysis | Profiling Native Code | Profile Application Startup
Alt+F1 | Enterprise Architect | Execution Analysis | Profiling Native Code | Profile Running Application
Alt+F1 | Enterprise Architect | Execution Analysis | Profiling Native Code | Introducing the Profiler | Set Capture Options