speedscope icon indicating copy to clipboard operation
speedscope copied to clipboard

Trace files from Instruments can only be dragged, not opened

Open evanw opened this issue 7 years ago • 5 comments

Repro: click on the big "Browse" button and select a trace from Instruments.app.

Expected: it should open fine, just like it does when you drag and drop it in.

Unexpected: it says the file format is unsupported.

evanw avatar Jul 19 '18 20:07 evanw

When this is fixed, https://github.com/jlfwong/speedscope/wiki/Importing-from-Instruments.app should be updated

jlfwong avatar Aug 21 '18 05:08 jlfwong

I get the unsupported file format message even when I drag and drop an Instruments .trace file :/

aparrapo avatar Sep 13 '18 22:09 aparrapo

Hey @aparrapo, sorry you're running into issues.

Can you provide reproduction steps w/ your xcode version and/or a file that fails to import?

jlfwong avatar Sep 13 '18 22:09 jlfwong

Hi @jlfwong, I have a multi-threaded app, but nothing too complex. I run the Instruments' time profiler on a 30sec job and then save the .trace file via File -> Save.

I'm using XCode 10.0 beta.

I'm afraid I cannot share .trace file as it's something I'm running at work, but if the info above is not enough I can try recreating a simpler version that I can upload :)

aparrapo avatar Sep 13 '18 23:09 aparrapo

Ah yeah, I haven't tested anything w/ the XCode 10.0 beta at all. XCode 9 Instruments should be working just fine. Let's move this discussion to #163 since this is an unrelated change to the one reported in this issue.

jlfwong avatar Sep 14 '18 01:09 jlfwong