macOS support
taher-mosbah opened this issue Β· comments
Hello π
Does ETTrace support macOS at all ? I tried running ettrace --simulator
and I can see a 1Mb output.json however loading it into https://www.emergetools.com/flamegraph does nothing. Browser dev console shows the following JS error: TypeError: e.threads.map is not a function. (In 'e.threads.map(e=>e.nodes)', 'e.threads.map' is undefined)
Hi @taher-mosbah it should work on macOS, but it sounds like you are trying to use the file generated by the swift package in the app, rather than the file generated by the ettrace CLI. When you run ettrace --simulator it should print something like "Results saved to file://..." can you get the file from that directory? It should be named like "output-\(threadId).json"
indeed it works as expected, thanks !