Has anyone succeeded in using the OpenGL mountain lion profiler?

When you run the OpenGL profiler on mac os X mountain lion, the "attach to application" list remains empty .

Launching the application is possible, but then, trying to open the OpenGL driver monitor, I get: "Could not start or attach (null) to the application" message.

I use:

  • xcode 4.5
  • openGL profiler from Graphics Tools (downloaded from Apple Dev)

I tested this on two different macbook pro.

Edit: The version of the graphical tools for using Xcode I m does not seem to be the last available. Unfortunately, this is the only one I get from Apple Dev! screenshot

Am I missing something?

Solved: I used the wrong (not updated) Apple dev account to access the download page. I had no warnings or error messages, just the files for downloading were outdated.

I want Apple to add a simple message such as β€œWarning: you are logged in with an expired account. Keep in mind that you are NOT accessing the latest resources.”

Thank you all for your help. I could spend a whole week with this stupid mistake.

Ps: I can not answer the question myself, because I do not have enough reputation.

Edit: I managed to get a more recent file, but now it seems to me that it is NOT the last.

Edit: I finally got the August version of the graphical tools for Xcode , but I have to admit that I don't understand the Apple dev account management logic.

The file version I get is https://developer.apple.com/downloads/ :

  • Fresh free developer account β†’ March . Graphics for Xcode
  • ios paid developer account β†’ June Graphic utilities for Xcode
  • old developer account (not updated paid ios program) β†’ August Graphic Tools for Xcode
+4
source share
2 answers

I just installed the new OpenGL Profiler (version 4.7 (3)) (Graphics Tools for Xcode - August 2012) on my new MacBook Pro Retina with Xcode 4.5 and Mountain Lion, and it works without any problems.

Graphic tools can be found at https://developer.apple.com/resources/ (OSX β†’ Downloads):

enter image description here

I tried profiling GLFW using OpenGL 3.2 (the main profile) and Google Chrome, working with some WebGL materials. And both things worked as expected.

Edit: Now I have successfully tried running the profiler on another MBP (end of 2011), also using Mountain Lion and again with success. I did not follow Apple’s environment setup guide as TheAmateurProgrammer suggested, but I believe the OpenGL Profiler does this behind the scenes when it says β€œEnable” in the dialog box below (appears when the program starts). One of the minor things is that profile programs should start after enabling OpenGL Profiler Attaching.

I also managed to profile Firefox working with WebGL, but Safari gave some problems.

enter image description here

+5
source

Follow Apple's guide to set up the environment required to use the OpenGL Profiler.

0
source

Source: https://habr.com/ru/post/1436813/


All Articles