Help Center

Local Navigation

Generate Profiler data

  1. Specify a breakpoint at the beginning and end of the section of code that you want to profile.
  2. On the Run menu, click Debug As > BlackBerry Simulator.
  3. In the BlackBerry® Smartphone Simulator, run the application. The debugging tool pauses the application when it reaches the first breakpoint.
  4. In Eclipse®, on the Window menu, click Show View > Other.
  5. Expand the BlackBerry folder.
  6. Click BlackBerry Profiler View.
  7. Click OK.
  8. In the BlackBerry Profiler View, click Setup Options.
  9. In the Profiler Options dialog box, select the type of method attribution and the type of information that you want to profile.
  10. Click OK.
  11. Press F8 to resume program execution. The debugging tool pauses the application when it reaches the second breakpoint.
  12. In the BlackBerry Profiler View, click Refresh. The profiler retreives the data. Profiler data is not cleared, so running an application again adds to the data.
  13. To save the contents of the profiler pane to a comma-separated values (.csv) file, in the BlackBerry Profiler View, click Save
Previous topic: Profiler options

Was this information helpful? Send us your comments.