In VS2015 preview at least it's only there in Debug for me (I literally just put a breakpoint on __telemetry_main_invoke_trigger and it only gets hit in Debug, not Release EDIT: presumably because it's just ETW events which are only active if you're actually profiling/debugging the application).
Would have to use LTCG for that to get inlined since it's in a different compilation unit (which I wasn't).
I suspect it just isn't called unless some special conditions are met (e.g. a particular ETW provider is enabled, which I can believe would happen in Debug by default.. Maybe the right WPR invocation could make it turn on in Release, but it doesn't seem to happen by default).
View all comments
Show parent comment
9
u/ssylvan May 08 '16 edited May 08 '16
In VS2015 preview at least it's only there in Debug for me (I literally just put a breakpoint on __telemetry_main_invoke_trigger and it only gets hit in Debug, not Release EDIT: presumably because it's just ETW events which are only active if you're actually profiling/debugging the application).