Help Center

Local Navigation

Find a memory allocation problem

  1. Specify two or more breakpoints in your code.
  2. On the Run menu, click Debug As > BlackBerry Simulator. The application runs to the first breakpoint.
  3. On the Window menu, click Show View > Other.
  4. Expand the BlackBerry folder.
  5. Click BlackBerry Memory Statistics View.
  6. Click OK.
  7. In the BlackBerry Memory Statistics View, click Refresh .
  8. Click Snapshot.
  9. Press F8 to resume running the application. The application runs to the second breakpoint.
  10. Click Refresh.
  11. Click Compare.
  12. Repeat steps 1 through 11, setting breakpoints closer together until they converge on the memory allocation problem.

Was this information helpful? Send us your comments.