Search code examples
xcodememory-graph-debugger

"Memory Graph Debugger: no serialized memory graph received from LeakAgent" error when using Xcode Memory Graph Debugger


I'm using Xcode 10.2.1 and macOS Catalina Developer Beta 2. Whenever I try to use the Memory Graph debugger, I get this error:

Memory Graph Debugger: no serialized memory graph received from LeakAgent

Memory Graph Debugger alert

After that, the loading spinner spins indefinitely.

"Building Memory Graph" loading screen

I've tried the answers recommended under this related question, but unfortunately, none of them worked. I tried to reinstall the app; restart Xcode, the iOS Simulator and my computer; deleted the DerivedData folder, and tried different simulators - none of these worked.


Solution

  • The above answers didn't work for me. But this one did. As the linked answer mentioned:

    1. Disable the address sanitizer
    2. Enable the malloc stack

    enter image description here