| 132 | |
| 133 | == Issues locating dSYM libraries or UUID errors when locating dSYM files == |
| 134 | |
| 135 | When attempting to locate a source file, you might get an error like this: |
| 136 | |
| 137 | {{{ |
| 138 | No new libraries to symbolicate |
| 139 | The specified path didn't locate a dSYM for any of the selected libraries. |
| 140 | }}} |
| 141 | |
| 142 | Or you might get an error like this when attempting to view a source file in relation to the assembly code: |
| 143 | |
| 144 | {{{ |
| 145 | The UUID of '/Users/me/project/trunk/lib/libCore.0.dylib.dSYM' |
| 146 | does not match the UUID for 'libCore.0.dylib' |
| 147 | }}} |
| 148 | |
| 149 | This 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 | {{{ |
| 152 | dwarfdump --uuid "libCore.0.dylib.dSYM" | cut -d' ' -f2 |
| 153 | dwarfdump --uuid "libCore.0.dylib" | cut -d' ' -f2 |
| 154 | }}} |
| 155 | |
| 156 | If 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 | |
| 160 | Sometimes 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 | |
| 162 | This 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 | |