T O P I C R E V I E W |
DAVID VALIANT |
Posted - Sep 20 2010 : 12:24:18 PM One of the most common things I find myself doing when debugging large amounts of C++ code is trying to track where variables were incorrectly set, or where they should have been set. Find References is great for this but it does still mean looking though the ( often long ) list of results to find the lines that are assignments or where the variable is passed to function by reference( or anywhere its passed to a function in the case of a pointer ).
It occurs that this would be greatly sped by a "Find Assignments" option which identifies where an = is used to assign to the variable. A more advanced version would detect also generate a list of pass by references or in the case of a pointer, anywhere where that pointer is passed to a function. |
2 L A T E S T R E P L I E S (Newest First) |
sean |
Posted - May 23 2014 : 3:04:01 PM A new case was opened for filtering of Find References results: case=78686. case=78686 is implemented in build 2036. See the context menu for filtering commands and keyboard shortcuts. |
accord |
Posted - Sep 21 2010 : 04:10:46 AM We are considering doing a filtering to see only assignments:
case=2867
and to indicate where a variable passed by parameter to a function and might be modified:
case=9955 |