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
 struct update not reflected in class browser
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mike6900
Junior Member

13 Posts

Posted - Aug 04 2005 :  1:40:43 PM  Show Profile
Modifying the following variable name is not reflected in the class browser even after reparsing the file.

typedef struct PttAppBookObj_t
{
...
boolean pttAutoLaunchActive;
...
} PttAppBookObj_t;


Visual Studio 6.0

VA_X.dll file version 10.1.1418.0 built 2005.06.24
Licensed to:
VA X:
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -16(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
2 processors

support
Whole Tomato Software

5566 Posts

Posted - Aug 04 2005 :  5:40:52 PM  Show Profile
We assume you refer to our Hovering Class Browser (HCB) when you say, "class browser."

We get behavior one expects. We rename a member variable, hover over a different symbol, hover over the struct again and the new variable name appears in the HCB.

Is your struct defined in a cpp file?
Go to Top of Page

mike6900
Junior Member

13 Posts

Posted - Aug 05 2005 :  07:19:22 AM  Show Profile
the struct is defined in a .h file. I modified 3 variable names in the struct, saved the file and reparsed and the HCB never updates the variable names.

Now I see both the new variable names and the old variable names in the HCB. I can modify a variable name in the struct, save the file, reparse, hover over another type/struct to change contents of HCB then hover over struct i modified and the new variable name shows up in addition to the old variable names that no longer exist in the struct. I would think reparsing the file would update the HCB?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 06 2005 :  4:59:56 PM  Show Profile
using VC6 and VAX 1418 i cannot reproduce this problem either.

on the theory that the structure name might somehow be relevant i placed the following into a .h file:

typedef struct PttAppBookObj_t
{
    int nInitial;
    int nSecond;
    boolean pttAutoLaunchActive;
    short nCounter;
} PttAppBookObj_t;


i have renamed "pttAutoLaunchActive" 3 times, and each time after giving VAX a couple of seconds to automatically reparse the file, so that the new structure component is shown as bold i hovered the mouse pointer over this new name, and the HCB jumped to this item in the structure, and showed its new name.

do you get this problem with other structures? if not can you post the complete structure you are using?

zen is the art of being at one with the two'ness
Go to Top of Page

mike6900
Junior Member

13 Posts

Posted - Aug 09 2005 :  12:00:21 PM  Show Profile
I found the problem.

I had listed my directory to parse under VAX Options->C/C++ Directories->Custom->Stable include files. This causes havoc on the HCB when modifying the structs, even after reparsing the file the struct contains the modified variable names.

Changing the directory to parse to VAX Options->C/C++ Directories->Custom->Other include files avoids the HCB issues.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Aug 11 2005 :  10:53:35 PM  Show Profile
Is the .h file not a part of your VC project? Just curious about your use of the Custom directory list.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000