Changes between Version 8 and Version 9 of instruments


Ignore:
Timestamp:
07/01/16 23:27:03 (8 years ago)
Author:
agscott1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • instruments

    v8 v9  
    130130
    131131The issue is caused by trying to use the wrong dSYM file when attaching a process. This is caused by using the incorrect `issm.exe` or by using another `issm` executable. To fix this, you need to be sure that you have set the target process as `issm.exe` under `$ISSM_DIR/bin/issm.exe`. Any other process, even if it is an executable will result in mismatching library symbols, and will cause all functions to be mangled.
     132
     133== Issues locating dSYM libraries or UUID errors when locating dSYM files ==
     134
     135When attempting to locate a source file, you might get an error like this:
     136
     137{{{
     138No new libraries to symbolicate
     139The specified path didn't locate a dSYM for any of the selected libraries.
     140}}}
     141
     142Or you might get an error like this when attempting to view a source file in relation to the assembly code:
     143
     144{{{
     145The UUID of '/Users/me/project/trunk/lib/libCore.0.dylib.dSYM'
     146does not match the UUID for 'libCore.0.dylib'
     147}}}
     148
     149This might be caused by a corrupt dSYM file. In order to validate that this is the root cause, you can run two simple commands in terminal:
     150
     151{{{
     152dwarfdump --uuid "libCore.0.dylib.dSYM" | cut -d' ' -f2
     153dwarfdump --uuid "libCore.0.dylib" | cut -d' ' -f2
     154}}}
     155
     156If the numbers do not match up, then you have a corrupt dSYM file. In order to fix this, run `make install` under `trunk/src/c` and then re-configure and rebuild ISSM. This should remake the dSYM file that is corrupt.
     157
     158== The source code view appears to have percentages in impossible areas of the code ==
     159
     160Sometimes when viewing the source code, the percentages of time that are usually next to a source code line appear to be mismatched. For example sometimes it will say 50% of the function time is spent in a blank line or spent in a function that isn't even called from the function you are inspecting.
     161
     162This problem will happen when using an old view of the source code after remaking `trunk/src/c`. So, if any changes are made to the source code, a new run will have to occur within Instruments and the source code will have to be relocated. Otherwise, it will be referencing the old source code, making it appear incorrect.
     163
     164
     165