Memory analysis of shared objects

To see symbol information for shared libraries used by your application, you must add the Shared Libraries tab in your launch configuration, and add the shared libraries search path like this:

  1. Open a Run or Debug launch configuration that is configured for memory analysis (see Launch your program with Memory Analysis).
  2. In the Create, manage, and run configurations dialog, click the Tools tab.
  3. Click Add/Delete Tool.
  4. In the Tools Selection dialog, select Shared Libraries.
  5. Click OK.
  6. Click the Shared Libraries tab.

  7. Click Add… to add a path to the shared libraries, which is located on your host.

If you're importing an existing trace file, you have to specify the search libraries path in the Import dialog. See Import event information.

Note: To be able to see file names and line numbers in the backtrace, shared libraries have to be compiled with debug information and not stripped on the host. It has to be equivalent to the target library, except debug symbols section. Otherwise, the backtrace would appear to be showing random locations. If the shared library isn't found on the host, the backtrace would contain only binary addresses.

In the Session View, you can expand your session, expand your process, and then select a shared object to view its memory events and traces in an editor or views.