Skip to content
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

cargo-instruments fails with "Failed instruments errored:" #83

Open
bes opened this issue Jan 18, 2023 · 4 comments
Open

cargo-instruments fails with "Failed instruments errored:" #83

bes opened this issue Jan 18, 2023 · 4 comments

Comments

@bes
Copy link

bes commented Jan 18, 2023

I am trying to get cargo-instruments running like this:

cargo instruments -t time
    Finished dev [unoptimized + debuginfo] target(s) in 0.96s
   Profiling target/debug/cli with template 'Time Profiler'
<Prints my application logs>
Failed instruments errored:

I have tried searching the issues here for that error, but I can't find anything.
I have xcode installed through Xcodes and I have verified that I can start the Instruments app.

I have used Instruments to instrument iOS applications previously.

Thanks <3

@cmyr
Copy link
Owner

cmyr commented Jan 23, 2023

hm, I'm really not sure what's going on here. What version of macOS/instruments is involved? Is your project open source? Can you manually profile from the instruments app, by running your built debug binary directly?

@bes
Copy link
Author

bes commented Jan 23, 2023

Hello @cmyr -

  • macOS Ventura 13.0.1 EDIT: Intel x86 2019 16" MBP
  • Instruments Version 14.1 (14C18)
  • Unfortunately my project isn't open source T_T;;
  • Yes I can attach manually using Instruments, it works well.

@lukeasrodgers
Copy link

Same error on Ventura 13.0.1, xcode 14.2, Instruments 14.1, running against https://github.com/Qovery/Replibyte/

@cmyr
Copy link
Owner

cmyr commented Jan 30, 2023

hmm. I've been avoiding ventura and so don't currently have a machine I can test this on...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants