Seeing symbols for shared libraries in Memory Analysis data

If your application uses shared libraries, you most likely want to see their symbols in the Memory Analysis data. To see file names and line numbers in the backtrace, shared libraries must be compiled with debug information and not stripped on the host. Also, they must match the library versions on the target (except the debug symbols section). Otherwise, the backtrace will show random locations. If a shared library isn't found on the host, its backtrace will contain only binary addresses.
To see symbol information for shared libraries, you must add the Shared Libraries tab and the shared libraries search path in your launch configuration:
  1. Open a Run or Debug launch configuration that is configured for 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, check the Shared Libraries box, then click OK.
  5. In the Shared Libraries tab, click Add… to open a popup window from which you can specify a host path for the shared libraries.
  6. Click Apply to save your changes.
  7. Click Run or Debug.
    The IDE starts your program and lets you analyze its memory usage and errors.
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.