Using atos to determine crashed method name with dSYM

后端 未结 1 1550
面向向阳花
面向向阳花 2020-12-29 12:47

I have a Console stack (not a crash report) from a user, and I\'m trying to determine which method call in my application was the last man standing.

I know which ver

相关标签:
1条回答
  • 2020-12-29 13:19

    it's expecting a load address. have you tried:

    atos -o MyApp.app_1.0.0.dSYM/Contents/Resources/DWARF/MyApp -arch x86_64 -l 0x000000010E6FE000
    

    i get 0x000000010E6FE000 from your example by subtracting 6836 (base10) from 0x000000010e6ffab4 ... or you could use any of the other math items shown there for MyApp .

    here's an example from one of my recent crashes, where the 0x2d000 was evident from the crash log. first line is what i entered on the command line. every other line after that is program output (artificially indenting my input with $ or $> ... there is no such prompt on the screen).

    $ atos -o /x/xcode/DerivedData/Xxxx/Build/Products/Debug-iphoneos/Xxxx.app.dSYM/Contents/Resources/DWARF/Xxxx -l 0x2d000
    got symbolicator for /x/xcode/DerivedData/Xxxx/Build/Products/Debug-iphoneos/Xxxx.app.dSYM/Contents/Resources/DWARF/Xxxx, base address 1000
    $> 0x0002f9a6
    0x000039a6 (in Xxxx)
    $> 0x0002f940
    0x00003940 (in Xxxx)
    $> 0x000c70f6
    -[TFHTTPOperation connection:didReceiveData:] (in Xxxx) + 754
    
    0 讨论(0)
提交回复
热议问题