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
 Technical Support
 Finding Symbols Declared in .cpp files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jwittner
New Member

USA
4 Posts

Posted - Sep 21 2006 :  8:42:20 PM  Show Profile  Reply with Quote
I've been searching now for a few hours and have read through the forums trying to find a way to make VA X recognize symbols (specifically static variables defined in .cpp files) in files other than header files. Does this ability exist? If not can it be made to exist?

I've recently been using a much cheaper product ($10) for VS 2003 called Workspace Whiz that definately has this feature and it makes traversing through the code much much easier. I would have continued to just use that product, but Microsoft is forcing all the Xbox 360 developers over to VS 2005 and WW doesn't exist yet for VS 2005.

I'm more than willing to stick with VA X because it does other things great as well, things above what WW does, but losing this feature has become quite frustrating to me as well as my colleagues and I'm just hoping its already there and someone could just point me in a direction.

Edited by - jwittner on Sep 22 2006 12:10:40 AM

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 22 2006 :  01:25:47 AM  Show Profile  Reply with Quote
What version of VA do you have?
Do you have "parse all files" enabled (VA options|Performance|General)?
Go to Top of Page

jwittner
New Member

USA
4 Posts

Posted - Sep 22 2006 :  2:50:50 PM  Show Profile  Reply with Quote
I've pasted the info from the about window below. I do have "parse all files" enabled.

VA_X.dll file version 10.3.1535.0 built 2006.09.15
*Removed the "licensed to" information to keep email adress out*
VAOpsWin.dll version 1.3.3.6
VATE.dll version 1.0.5.8
DevEnv.exe version 8.0.50727.42
msenv.dll version 2.0.3115.0
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2180
Windows XP 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft DirectX SDK (December 2005)\\Include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:

Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 22 2006 :  2:55:17 PM  Show Profile  Reply with Quote
It was late when I read this last night - didn't notice you were looking for static var. Are you looking for static vars that are in file or local scope?
Go to Top of Page

jwittner
New Member

USA
4 Posts

Posted - Sep 22 2006 :  4:28:33 PM  Show Profile  Reply with Quote
Well, both really. I tested it a bit more this morning and it won't find variables declared in source files (file scope). It will find externs of those variables however, but the symbols search just takes me straight to the extern declaration.

Which brings up another question I was having. Is there any way to get the symbol search to take me straight to the definition/implementation of the symbol I'm requesting if one exists? That would be a mighty useful feature as well, since 99% of the time I'm not concerned with a declaration of a function, but the implementation. But maybe thats a discussion for another forum...
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 24 2006 :  11:13:41 PM  Show Profile  Reply with Quote
So to back up a second, recognizing static vars is not the same as supporting them via Alt+G, the symbols in workspace list or Find References.

static vars in local scope do not appear in the symbols in workspace list.
static vars at file scope in source files appear to be hit or miss in the symbols in workspace list - maybe related to the alt+g problems reported in other forum topics. case=2688

To use Alt+G or Find References you need to already be at an occurrence of the symbol you are looking for. If things are working right, using Alt+G on any use of a symbol will give you a choice of the declaration or the definition.
Go to Top of Page

jwittner
New Member

USA
4 Posts

Posted - Sep 25 2006 :  6:45:32 PM  Show Profile  Reply with Quote
What I use is the symbols in the workspace list. The "Find Symbols" functionality. I must just be running into the hit or miss behavior, but only miss for me. Hopefully.
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