Determine whether and where a variable (attribute of an object) is accessed in C++?

66 Views Asked by At

I'm analyzing a quite large C++ project using Visual Studio. In the project, a variable is assigned a value, and I would like to know whether the variable is accessed later or not. In case it is accessed, it would like to see at which place the variable is accessed.

Please note that the variable is an attribute of an object, i.e., the value is assigned according to

dsp->filter.transfer_function = 4; 

Thanks for any help in advance!

I have tried to use debugging option of Visual Studio like Watchlists etc.

0

There are 0 best solutions below