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
 VAX 1525: reparse current file do not work for cpp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 27 2006 :  4:14:37 PM  Show Profile  Reply with Quote
I'm using VAX 1525.

1. I enter new class member functions to the header file and then to the CPP file.

2. I'm pressing Alt+G above the function name in the cpp file and VAX jumps me to the right position in the header. If I trying to press Alt+G above the function name in the h file then it may does nothing or jumps to a wrong position in cpp instead of the function definition.

If I rebuild the symbol database (from Performance/General TAB) then everything will be OK!

So I think I can reparse a header file but cannot the cpp. Is it the case?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 27 2006 :  4:24:37 PM  Show Profile  Reply with Quote
Sorry, I didn't write that after step 1 I reaparsed the cpp and the h file (VAssistX/Tools/Reparse current file). I'm using script to allways parse every file after save because it takes time to parse files after modifications, and I don't like it :)

(So after entering new member function definitions to the cpp and reparsing the file, I cannot use Alt+G from the header to jump to the definition.)
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 28 2006 :  12:26:07 AM  Show Profile  Reply with Quote
Reparse current file should work on both a header and a code file, I believe.

At various times, I have seen problems where GoTo takes you to a line other than the one where the definition is. Most of the time they ended up being related to some #ifdef or #define that was confusing the parser.

Can you reproduce this in a clean file? If so, can you send us the example code?

You mention VAX 1525, but not which IDE.

Joe Pizzi
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 28 2006 :  12:31:20 AM  Show Profile  Reply with Quote
You shouldn't need to reparse on every save. VA X should do parsing enough on its own.

Are the cpp and header part of your project?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 28 2006 :  05:48:11 AM  Show Profile  Reply with Quote
support: If I modify for example a header file, it need seconds to reparse it, and if I switch from the file before VAX reparse the file it will no be parsed (or takes a lot of time/need restart). But I can press Ctrl+S easily before switching to another file. This was true for 14xx series, I didn't tested 15xx parsing frequency yet because of this script do it automatically for me, and it helped a lof for 14xx series.

I will reproduce this cpp parsing fault and I will create step-by-step instructions.

The file was in the project and I am using VS 2005.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 28 2006 :  1:19:38 PM  Show Profile  Reply with Quote
There was an issue with files not always being reparsed, especially if you scripted a save to reparse the file. :)

Fixed in 1526.
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