Got asked an interesting question
Can you know, in code, if profiling is or was enabled when the app was built ?
At first I couldn’t think of a way so I said “off the top of my head no”
But a bit more poking about and I came up with
Public Function isprofiling() As boolean
For i As Integer = 0 To runtime.ObjectCount
… Read the rest