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
 Goto button bar showing nothing + not working righ
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

NOPcode
Ketchup Master

USA
84 Posts

Posted - May 01 2009 :  07:37:43 AM  Show Profile  Reply with Quote
Ever since I've installed the 172x builds, I've noticed that the "goto" bar at the top of the screen will often show nothing at all, which is frustrating because (a) it's useful to see the function definition (b) I can jump to to function body.
I can right-click and use VS2008's "goto definition" menu item, and that works fine.
Also, when it DOES work, it never takes me to the C++ file consistently any more: it only ever takes me to the .H file, and never gives me the option to get to the C++ file. *Sometimes* I can go to the C++ file where the function lives, and force VX to reparse the file and then it works, but it's hit or miss.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 01 2009 :  09:07:37 AM  Show Profile  Reply with Quote
What build did you use before? 1715?

Can you please try

VA Options -> Performance -> Rebuild symbol databases

to see of if this helps? Did navigation bar completely work in the previous version?
Can you please try to create a clean new win32 test project to see if navigation bar works correctly there?
Do you see underlines in your file? If

VA Options -> Advanced -> Underlines -> Underline mistyped symbols using

is turned on and you start editing a file, Visual Assist will underline the symbols it cannot recognize.

Edited by - accord on May 01 2009 09:14:23 AM
Go to Top of Page

NOPcode
Ketchup Master

USA
84 Posts

Posted - May 01 2009 :  10:39:23 AM  Show Profile  Reply with Quote
I've been using every build that is posted to download.

I've rebuilt the database on multiple occasions, and it doesn't change anything.

Yes, I have underline mistyped symbols turned on. Always have.

I've had this happen in existing project and new ones.

quote:
Originally posted by accord

What build did you use before? 1715?

Can you please try

VA Options -> Performance -> Rebuild symbol databases

to see of if this helps? Did navigation bar completely work in the previous version?
Can you please try to create a clean new win32 test project to see if navigation bar works correctly there?
Do you see underlines in your file? If

VA Options -> Advanced -> Underlines -> Underline mistyped symbols using

is turned on and you start editing a file, Visual Assist will underline the symbols it cannot recognize.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - May 01 2009 :  1:44:35 PM  Show Profile  Reply with Quote
If you show VA Outline does it show something sensible?
As you move the caret through the file does it show the current function in bold? This assumes you have this turned on.

If you press alt-m do you get the correct list of methods in the current file?

Do you have any other plugin's installed?
Are you seeing any other problems? If this was a VA parser problem then I would expect it to effect other things, but I don't understand why it does not work in a new default solution.

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

NOPcode
Ketchup Master

USA
84 Posts

Posted - May 04 2009 :  07:45:45 AM  Show Profile  Reply with Quote
Okay, it's doing it now with the 1724 build that was posted. I'm going to try to document what I have and what is going on: (C++ by the way)

In my constructor, I am calling a non-virtual function that is in my class, like such:

PatientListScreen::PatientListScreen()
{
#ifdef _PRECAL_
m_fPrecalFlag=false;
#endif
setupVBox(reportFrame);
}

This is defined in the header as:
protected:
void setupVBox(void *reportFrame);

And in the body (same cpp as the constructor as):

void PatientListScreen::setupVBox( void*reportFrame )
{
bla bla bla
}

now, if I put the cursor on setupVBox in the constructor, I in the goto-bar at the top:
void PatientListScreen::setupVBox( void *reportFrame ){...}

but when I click the "Go" button, it takes me to the *HEADER*, not the function. If I were to force VX to reparse my cpp file at this point, and clicked the "Go" button, it will show a popup menu with cpp and h file options.

Showing VaOutline looks normal - all the functions are there (including the setupVBox). The functions are shown as bold in the Outline view as I move through the file.

Alt-M also works fine.

No other plugins nor macros. As mentioned, this didn't start happening until about the 172x builds.




quote:
Originally posted by feline

If you show VA Outline does it show something sensible?
As you move the caret through the file does it show the current function in bold? This assumes you have this turned on.

If you press alt-m do you get the correct list of methods in the current file?

Do you have any other plugin's installed?
Are you seeing any other problems? If this was a VA parser problem then I would expect it to effect other things, but I don't understand why it does not work in a new default solution.

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 04 2009 :  5:15:37 PM  Show Profile  Reply with Quote
I constructed a test class, and it works for me.

Can you please try to paste the following source into a new cpp and header file, leaving out any includes:

cpp:
PatientListScreen::PatientListScreen()
{
#ifdef _PRECAL_
	m_fPrecalFlag=false;
#endif
	setupVBox(reportFrame);
}

void PatientListScreen::setupVBox( void*reportFrame )
{
}

header:
class PatientListScreen {
	bool m_fPrecalFlag;

	PatientListScreen();
private:
	void setupVBox(void *reportFrame);
};

Is my reconstruction correct?
If you put the cursor on setupVBox in the constructor and press alt+g, is both location offered?

Edited by - accord on May 04 2009 5:20:37 PM
Go to Top of Page

NOPcode
Ketchup Master

USA
84 Posts

Posted - May 06 2009 :  11:53:00 AM  Show Profile  Reply with Quote
Your recro is fair enough (obviously my code has a lot more). It will work sometimes, but it seems to fail the most when I start up VS2008 and then open a project. I should also point out that it doesn't just happen with the PatientListScreen class, nor it's constructor - it's a very wide-spread problem that affects every class and project and function.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 06 2009 :  5:12:59 PM  Show Profile  Reply with Quote
Have you turned off

VA Options -> Performance -> Parse all files when opening a project ?

This option should be turned on. Are your source files in the project file (vcproj)? So if you press ALT+SHIFT+O, do you see all your source files here? VA parses the files listed here.
Go to Top of Page

NOPcode
Ketchup Master

USA
84 Posts

Posted - May 07 2009 :  2:15:43 PM  Show Profile  Reply with Quote
Yes, it was turned off. I have turned it back on and we'll see. I don't recall turning that off - the only thing I go when I go into the VX settings is to clear/rebuild the db.

quote:
Originally posted by accord

Have you turned off

VA Options -> Performance -> Parse all files when opening a project ?

This option should be turned on. Are your source files in the project file (vcproj)? So if you press ALT+SHIFT+O, do you see all your source files here? VA parses the files listed here.



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