Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Find Assignments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DAVID VALIANT
Starting Member

1 Posts

Posted - Sep 20 2010 :  12:24:18 PM  Show Profile  Reply with Quote
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.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 21 2010 :  04:10:46 AM  Show Profile  Reply with Quote
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
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - May 23 2014 :  3:04:01 PM  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000