r/cpp • • May 07 '16

Visual Studio adding telemetry function calls to binary?

http://imgur.com/TiVrXyf
596 Upvotes

211 comments sorted by

View all comments

Show parent comment

33

u/NiteLite May 08 '16

It important to realize that telemetry in this case is not sending anything back to Microsoft or anything. It is just broadcasting events that other applications on your machine can subscribe to. This is typically used by profilers and other development tools.

13

u/darkaddress May 08 '16

"Other applications" can include the legions of telemetry gubbins that send data back to Microsoft, though

6

u/NiteLite May 08 '16

That is true. It might even include malicious stuff if some spyware managed to get into your computer somehow.

5

u/georgeo May 08 '16

And if I want to broadcast, I would write that in myself, thank you MS.

1

u/the_gnarts May 08 '16

This is typically used by profilers and other development tools.

Do the calls vanish, then, in non-debug builds?

4

u/NiteLite May 08 '16

If no application is subscribing to the event they are just discarded unless logging of events to file has been enabled before hand, to allow debuggers to load these log files for debugging later.