-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated .trace files can't be opened by Instruments.app - Document Missing Template Error #88
Comments
two possibilities jump to mind:
If it isn't any of those things then let me know and we can start debugging. :) |
@cmyr happens to me too, my application is a Web API, when I kill it after doing 10K requests, I get this error. Could it be that stopping the API doesn't trigger gracefully creating the profiling file? |
I think the fix here is for |
The problem is that we aren't responsible for writing traces; that's up to The only thing cargo-instruments can offer here is the If you want to attach to a running application, profile it, and then stop profiling, you'll need to dig into the |
Right but you're the parent process, that's responsible for running both the app and xctrace. You could spawn those into different process groups, and then when |
That's an interesting idea, but we don't actually spawn the target process, we just invoke |
I am trying to run cargo-instruments via:
When I do, everything seems to run:
and I see a new
.trace
file generated in./target/instruments
, but if I try to open the file, Instruments fails with the error:I'm using:
Instruments: Version 14.3.1 (14E300c)
cargo-instruments: 0.4.8
rustc: 1.70.0
Any ideas what might be going on?
Thanks!
The text was updated successfully, but these errors were encountered: