Profile code results

Played with Time Profiler.
I guess I need to find some documentation - its a screen full of ‘stuff’ but nothing I can read. :frowning:

I’ll just have to fall back on times, ticks , and logging

Jeff, Beatrix is correct - find the Xojo cache folder (sorry I don’t know where it is) and clear it out. I remember I once had a problem with Prefs that went wrong because settings were cached, and the issue only went away when the cache was cleared. Quit Xojo before you clear the cache and start it up again after.

Done.
Several times.

Xojo has a clear cache button now.
(because everyone said ‘sorry I don’t know where it is’)

Unless we know that doesn’t work properly either?

Jeff, is this a Pro version of Xojo, or a lite version for a specific OS? What type of project is it, web or desktop?

I have desktop on Mac, and I have Lite on Windows.

The same desktop project profiles properly when run in the Lite edition on Windows.
No desktop project (even a brand new one, with 1 window, and no controls) profiles in the Desktop edition on my Mac.
No errors, but no profiles.
No profiles*.txt file exists anywhere on the Mac

Are you using Catalina?

Catalina was the first version of the macOS I encountered where the temporary items folder was not available. Of course it never happened on the Catalina installations I have here, but I had enough error reports to know that this issue existed.

Is profiling a pro feature?

No

Jeff, create a new user on your Mac, log into that user and try again with a new small project. This will tell us if it’s an issue with your user area.

I’m not sure you need any sort of licence to do profiling.

If you want the profile to show you need the app top quit normally. First try to close all windows and of your app is still running go the the menubar and select quit

It works under Windows.
I am doing exactly the same on OSX, but believe me when I tell you that I have tried many many many many combinations of ways to close the app, and whether or not the last line of code encounters the word ‘quit’.
I have yet to try a new user account , (having lost my activation in the experimentation with deleting caches and preferences this weekend)

  • Created a new user.
  • Opened Xojo, new project.
  • Clicked ‘Profile code’
  • Ran the app.
  • Closed the windows.
  • Closed the app’s menu.
  • Nothing.

Giving up.

Where are StartProfiling and StopProfiling?

Good question . Where (what) are StartProfiling and StopProfiling?
I dont use them on Windows.

Found them. Added them. Nada.
Its supposed to profile everything in their absence anyway