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
 Open File in Solution missing files
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

jonnygarrett
New Member

8 Posts

Posted - Apr 04 2013 :  2:46:48 PM  Show Profile  Reply with Quote
hi

a number of programmers in our studio are experiencing cases where the Open File In Solution dialog only shows a subset of the files in the solution

we've tried the Rebuild (symbol databases) and Clear (history, cache and temporary files) options without luck

we're running v10.7.1929.0 for vs2012 in windows 8

thanks for any help

Jonathan

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 04 2013 :  3:06:54 PM  Show Profile  Reply with Quote
In the IDE Solution Explorer window, if you turn Off the "Show All Files" button are these problem files shown?

What file extensions do these missing files have?

Is the solution, and are the files on a local hard drive, or some form of network or mapped drive?

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

jonnygarrett
New Member

8 Posts

Posted - Apr 04 2013 :  3:33:28 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

In the IDE Solution Explorer window, if you turn Off the "Show All Files" button are these problem files shown?

What file extensions do these missing files have?

Is the solution, and are the files on a local hard drive, or some form of network or mapped drive?



hi

the 'show all files' option was already disabled (but toggling it either way had no effect)

the missing files are a combination of type (.cpp, .h as well as our internal file extensions)

the files are all on a local drive

Jonathan
Go to Top of Page

chris
New Member

6 Posts

Posted - Apr 04 2013 :  3:42:02 PM  Show Profile  Reply with Quote
I am currently having this issue. The "show all files" button was disabled and toggling it on or off doesn't appear to have any affect.

Edited by - chris on Apr 04 2013 3:42:42 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 04 2013 :  4:35:45 PM  Show Profile  Reply with Quote
If you locate one of the problem .cpp or .h files in the IDE Solution Explorer, and then open it manually, is VA active in this file? Are you seeing the context and navigation fields at the top of the editor window? Does VA Outline show you an outline for this file?

If VA is active in this file, is the file now shown in VA's Open File dialog, now that it has been opened manually?

If the open file is shown, please close the file. Is it still shown in VA's Open File dialog, or is it no longer listed?

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

chris
New Member

6 Posts

Posted - Apr 04 2013 :  4:56:07 PM  Show Profile  Reply with Quote
If I open one of the problem .cpp files then everything appears normal, I can see the navigation fields at the top.

While I have the file open it only shows up in VA's Open File dialogue if I uncheck "Show only files in the current solution". If I uncheck that then I will see the file, but as soon as I close the file it obviously doesn't show up there any longer.
Go to Top of Page

chris
New Member

6 Posts

Posted - Apr 04 2013 :  7:40:10 PM  Show Profile  Reply with Quote
I may have been slightly incorrect in my last post.

When I open a problem file the context field appears to be filled out. The definition field is blank and stays blank. If I click the drop down for the context field then some things flicker and the definition field gets filled out. After that point the file will appear the the VA open file dialogue even after I close the file.

Once I restart visual studio it's back to being a problem.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 04 2013 :  9:03:20 PM  Show Profile  Reply with Quote
Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

Can you also tell me the full path to one of these problem files?

Does your solution have more than one project? If so are these problem files all in the same project or projects?
Are the problem files all in certain directories?

I am wondering if the problem could be the directories or projects. If so then this problem should effect all files in the problem project or directory.

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

chris
New Member

6 Posts

Posted - Apr 05 2013 :  12:48:54 PM  Show Profile  Reply with Quote
VA_X.dll file version 10.7.1929.0 built 2013.02.22
Licensed to:
VA X: [email protected] (25-user license) Support ends 2013.04.20
DevEnv.exe version 11.0.51106.1 Professional
msenv.dll version 11.0.51106.1
Comctl32.dll version 6.10.9200.16384
Windows 8 6.2 Build 9200
8 processors (x86-64;
WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\winrt;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\shared;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\crt\\src;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfc;



The solution has 55 projects in it.

The full path to a couple files that have issues
X:\\core\\projects\\cine\\code\\Core\\Engine\\Physics\\PhysicsSystem.cpp
X:\\core\\projects\\cine\\code\\Core\\Engine\\Viewer\\Viewer.cpp

Those 2 files are not in the same project but are obviously at the same Engine level in the folder hierarchy.

When those files are having issues some files that aren't are
X:\\core\\projects\\cine\\code\\Core\\Tools\\Cinematic2Builder\\CinematicAssetDdlConverter.cpp
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 05 2013 :  5:00:28 PM  Show Profile  Reply with Quote
Clearly no overlap between the problem files and your stable include directories, which was one theory I had.

Also the problem directories are in the same directory tree as files that work just fine, which eliminates any simple theories about drive letters.

Is this a machine specific problem? Or is it effecting all of the developers who have these projects checked out?

Would you be able to send me just the .vcxproj file from one of the projects that is showing the problem? This does not contain any code, and would simply be used for testing purposes. I am wondering if there is something about the formatting of the .vcxproj that is confusing VA, causing it to miss these files.

I appreciate this may not be possible, but its worth asking in case it is possible. If so, please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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

chris
New Member

6 Posts

Posted - Apr 05 2013 :  6:43:58 PM  Show Profile  Reply with Quote
"Is this a machine specific problem? Or is it effecting all of the developers who have these projects checked out?"

It's definitely not machine specific. Jonny and I are seeing it and we're in the same perforce branch so I was wondering if it might be related to that somehow. But today someone else told me that they are seeing it and they aren't in the same branch. I will see if i can get a vcxproj.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 05 2013 :  8:47:18 PM  Show Profile  Reply with Quote
Do you use any other IDE extensions? If you look at:

IDE Tools menu -> Extensions and Updates...

what extensions are listed on you system? On a full install of VS2012 with VA I have the following extensions listed:

Microsoft Web Developer Tools
NuGet Package Manager
Visual Assist X
Visual Studio Extensions for Windows Library for JavaScript

Something has to be triggering these problems, but what? That's the question. Hopefully the .vcxproj file will offer some clues.

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

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 06 2013 :  7:12:25 PM  Show Profile  Reply with Quote
Another thing to try is VA log files, hopefully they will offer some clues about why some files are not being listed. Can you please try loading the IDE, but make sure no solution is loaded.

Then enable VA logging:

VA Options -> Performance -> Enable logging

Load your solution, and then wait for VA to finish parsing and for your CPU to report idle.
Open VA's Open File dialog
Close the Open File dialog

Close the IDE, this stops the log files from growing any further, and then please send us the log files.

Please see this FAQ for details of turning on VA's logging, and sending us the log files

http://docs.wholetomato.com?W305

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

chris
New Member

6 Posts

Posted - Apr 17 2013 :  5:52:58 PM  Show Profile  Reply with Quote
The issue had apparently stopped. I was asking around to see if I could get logs from someone else but it appeared that everything was working properly. But now it looks like it's starting again.

Extensions I have in vs2012

Microsoft WebDeveloper Tools
NuGetPAckageManager
P4VS - Perfroce Plugin for Visual Studio
Visual Assis X
Visual Studio Extensions for Windows Library for JavaScript

I just sent the va.log along.
Go to Top of Page

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 18 2013 :  3:45:09 PM  Show Profile  Reply with Quote
I have the exact same problem. It started on the same day as for other posters above, stopped happening for me too and started again today for me too. I'm the only one at the office getting this.

I only see about 60 to 450 files out of thousands in my solution. Rebuilding the symbol database either does nothing or brings down the total even lower. If I manually find and open one of the many files that are missing, it seems to add all the files from that folder and/or project (not sure which, but it looks like it's folder-based).

I only have the 4 base extensions listed above. I can't send you a .vcxproj, sorry.

Edited by - SteveLalancette on Apr 18 2013 3:47:18 PM
Go to Top of Page

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 18 2013 :  4:26:13 PM  Show Profile  Reply with Quote
Note that this problem didn't occur if I opened the solution with Visual Studio 2010, only with 2012.

I uninstalled Visual Assist and installed an older version (1916) and this fixed the problem. I then uninstalled that and re-installed version 1929 and the problem didn't come back (at least for now).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 18 2013 :  7:09:18 PM  Show Profile  Reply with Quote
I have the log files, thank you for these, hopefully they will offer some clues:

case=73709

Are you aware of any changes that happened when this apparently stopped and then started happening again? Its a long shot, but worth asking just in case.

It is interesting that changing VA version fixed this. Since you returned to VA 1929 and the problem was still fixed, this means it is not a version specific problem. Changing the version of VA will cause VA to rebuild its symbol database. I don't see how this could be a factor, but its easy to test.

If anyone else is currently seeing this problem can you please ask them to try pressing the button:

VA Options -> Performance -> Rebuild symbol databases

and restart their IDE. Does this make any difference to the problem?

zen is the art of being at one with the two'ness

Edited by - feline on Apr 18 2013 7:12:03 PM
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 18 2013 :  7:47:48 PM  Show Profile  Reply with Quote
"it seems to add all the files from that folder and/or project (not sure which, but it looks like it's folder-based)" - that describes a VA feature - see the Projects | File Handling page of the VA Options dialog. By default only enabled when files are loaded if the solution is empty.

VS2012 introduced a delayed project loading mechanism. Does the problem occur after all projects are fully loaded?

View Solution Explorer to see if the projects are loaded (icon state may be different or faded, 'unloaded' or 'loading' may appear next to project name, etc).

Edited by - sean on Apr 18 2013 7:48:41 PM
Go to Top of Page

-tz-
New Member

5 Posts

Posted - Apr 22 2013 :  05:58:40 AM  Show Profile  Reply with Quote
Hi all

We're having exactly the same problems (an it's pretty annoying when working with huge VS solutions, containing many thousand of files..).

The problems started exactly at the moment, when we updated Visual Assist to 'Version 10.7.1929.0 built 2013.02.22' (VS2012) - before everything was fine for several years with the very convenient and ~ most used 'Open File in Solution..' functionality...!

Probably downgrading would immediately fix the issue (but is not yet an option).


Therefore: A quick analysis & fix would be most appreciated.. ;-) ..!


Thanks a lot & BR, tz
Go to Top of Page

-tz-
New Member

5 Posts

Posted - Apr 22 2013 :  06:16:50 AM  Show Profile  Reply with Quote
PS: ...and VS2012 is actually not the issue; before updating to Visual Assist 'Version 10.7.1929.0 built 2013.02.22', everything was fine even with VS2012..!

BR, tz
Go to Top of Page

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 22 2013 :  12:35:57 PM  Show Profile  Reply with Quote
Alt-Shift-O is back to finding only 90+ files in the solution out of over 6,000. Reverting to an earlier version of Visual Assist and then back to the latest version seems to have only fixed it temporarily, unfortunately.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 22 2013 :  3:06:56 PM  Show Profile  Reply with Quote
Steve, can you please try pressing the button:

VA Options -> Performance -> Rebuild symbol databases

then restart your IDE and reload your solution. VA will take a few minutes to rebuild its symbol database, hopefully not to many. Since changing the VA version had a temporary effect this might have an effect on this problem.

Do you know if the problem projects were created or modified outside of Visual Studio?

Can you please close your solution and just load one of the problem projects, the .vcxproj file, and see if VA is showing any of the files in the Open File dialog now?


tz, are you working in a solution with more than one project? Or do you just have one project in your solution? Which file types, file extensions are missing? Does this problem appear to be project specific? Are you seeing some files in a given project listed, but other files not listed? Or is VA listing all or none of the files in each of the projects?

Does rebuilding your VA symbol database make any difference? Its a long shot, but it should be a quick and easy test.

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

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 22 2013 :  4:43:55 PM  Show Profile  Reply with Quote
As I said in a previous post, rebuilding the symbol database never worked for me. It would either keep the number of files stable or actually decrease it! It never found new files for me.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 22 2013 :  5:24:52 PM  Show Profile  Reply with Quote
Ah, I overlooked that fact, sorry about that. Do you know where the problem .vcxproj files came from? Were these created and modified by VS2012 or by some other tool?

Can you try opening just one of the problem .vcxproj files on its own, without loading the full solution, and see what files, if any, VA lists in the OFIS dialog?

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

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 22 2013 :  5:32:06 PM  Show Profile  Reply with Quote
I've already answered that as well. It lists all the files around that one and I'm not sure but I believe it's folder based and not project based.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 22 2013 :  7:09:23 PM  Show Profile  Reply with Quote
Apologies for that. I am not seeing that in this thread, but this is also being discussed with Chris via email. It looks like we might have a fix internally, I will let you know as soon as we have something you can try and see if it helps.

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

-tz-
New Member

5 Posts

Posted - Apr 23 2013 :  03:43:45 AM  Show Profile  Reply with Quote
Hi all

Concluding:

- We tried ourselves all of the first-guess tricks immediately, of course: Rebuild the Symbol database (followed by restart of the IDE and reloading the solution as apparently necessary), clearing History, cache temp files, not keeping symbols in memory, etc. - none of these measures help (as also other posted consistently).

- Downgrading and re-upgrading 'only fixes temporarily' (as also others posted consistently), since the problem clearly only occurs in 'Version 10.7.1929.0 built 2013.02.22', but not before. If you downgrade - of course it 'fixes' the problem - if you re-upgrade, of course it's back..!

- Further: NO, the projects of the affected files are NOT unloaded in VS2012.

- Some doubt/hint: It looks as if all files of those projects which are currently NOT EXPANDED in the VS 'Solution Explorer' are missing (why the heck THIS shall play a role, I don't understand - but anyway - it's an observation and some vague guess..):
Once you expand a project folder in the 'Solution explorer' and load at least one file out of it, also the other files of the project appear finally. However, just expanding all folders alone apparently doesn't help. Anyway - I really don't feel like expanding all and then going thru all projects to pick one file to open and close it again (since we have pretty many of them - see below)..!

- Last but not least (but probably most important):
Whatever doubt might discredit VS2012, some particular type of solution/project combination, file-types, or way of working - it all plays NO role at all, since before switching to 'Version 10.7.1929.0 built 2013.02.22' EVERYTHING worked fine with exactly the same solutions, projects, file-types, way of working etc..; then after upgrading it was all gone from one day to another while NOT changing all of the rest..!


Answers to feline:

- We have to deal with solutions containing 360+ projects..!

- The files we're missing and actually looking for, are basically .h, .c, .hpp, .cpp, .hxx,... and some more (of which are not important at all anyway)...
However - ALL of the are missing, not just some particular type!

- Other questions answered by the comments above.


Thanks for any help - a fix would be fantastic (or even just a reasonable workaround would do)...


BR, tz

Go to Top of Page

SteveLalancette
New Member

Canada
8 Posts

Posted - Apr 23 2013 :  05:39:14 AM  Show Profile  Reply with Quote
Two clarifications:

1. The problem is indeed with version 1929, but that doesn't mean it has nothing to do with VS 2012. VS 2010 works fine with VA 1929 and VS 2012 works fine with VA 1916 or earlier. The combination of VS 2012 and VA 1929 is problematic.

2. Downgrading VA and re-upgrading fixed the issue only temporarily, but it did make it work with VA 1929 for a while, not just VA 1916. Why that would be, I don't know (perhaps the symbol database is saved somewhere even after uninstalling and it takes a while for it to get corrupted again). Maybe knowing that this occurs would be a good clue for the programmer trying to fix this issue.

Edited by - SteveLalancette on May 21 2013 2:54:18 PM
Go to Top of Page

-tz-
New Member

5 Posts

Posted - Apr 23 2013 :  05:46:04 AM  Show Profile  Reply with Quote
1) That might very well be the case. Nevertheless, since we HAVE to work with VS2012, we don't really care about some other combinations..

2) That's actually the case. The symbols database is actually saved along with your solution and not automatically removed and/or completely rebuilt if you update VA, afaik.
If you delete and actively rebuild it after the update, you might probably 'corrupt' it immediately, I guess...
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 23 2013 :  11:13:16 AM  Show Profile  Reply with Quote
The VA symbol db is not saved in the solution directory. Installing a different version of VA causes the db to be rebuilt.
Go to Top of Page

-tz-
New Member

5 Posts

Posted - Apr 24 2013 :  06:33:24 AM  Show Profile  Reply with Quote
Sean:

DB location / updating:
OK, got it - that part was some misunderstanding (or wrong guess) of mine then... Sorry.

Thanks, tz
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000