Author |
Topic |
|
gstelmack
Ketchup Master
USA
76 Posts |
Posted - Jul 21 2004 : 4:39:05 PM
|
If I open a solution in VS.NET 2003, then switch to another app (I like to browse the web and like while I wait 5 minutes for the parse to complete), then switch back several minutes later, it appears as though VAX has paused parsing, and resumes once I switch back to VS.NET. The status line is still mowing through .cpp files. Either the parsing is taking a lot longer than it used to, or this is new behavior. |
-- Greg Stelmack, Red Storm Entertainment |
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 21 2004 : 5:58:32 PM
|
We tested 1246 and parsing continues while we do something else.
VA X will rebuild its entire database once in a while, as though you pressed Rebuild on our Performance node. VA X does this to collect garbage space. Perhaps you experienced this extra parsing. |
|
|
Chris Nahr
Ketchup Master
92 Posts |
Posted - Jul 22 2004 : 03:06:01 AM
|
I also noticed that sometimes VA X doesn't properly clear the status line after it has finished parsing, maybe this was the case here? |
|
|
gstelmack
Ketchup Master
USA
76 Posts |
Posted - Jul 23 2004 : 08:49:47 AM
|
The extra parsing to clear garbage space sounds like a likely candidate
I know it wasn't the "non-cleared status line", because it keeps going. Lots of files rifle through the status bar. And I know it's not working on the currently open file, as cpp files fly through the list as well as headers.
I'll keep a closer eye on it. |
-- Greg Stelmack, Red Storm Entertainment |
|
|
gstelmack
Ketchup Master
USA
76 Posts |
Posted - Jul 26 2004 : 12:25:54 PM
|
Another data point: just finished a build (so DevStudio has been opened for several hours), then went to add a new file to one of my projects. Using the "Add New Item" entry from the right-click menu on a DevStudio project, I added a blank .cpp file. Go through the prompts to check out my project, and once the file gets added VAX parses a bunch of header files. This is with a completely blank .cpp file. |
-- Greg Stelmack, Red Storm Entertainment |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 27 2004 : 7:15:42 PM
|
Another idea...
Normally, VA X watches for changes to headers made by external processes, eg editors. If your checkout touched any headers, VA X reparses them.
The background watching and parsing is done so your definitions remain current, even when multiple people are modifying common sets of headers. |
|
|
gstelmack
Ketchup Master
USA
76 Posts |
Posted - Jul 28 2004 : 08:37:24 AM
|
In this case, it should not have touched any headers. Not saying it didn't, but I'm using SourceSafe (no jokes, please) and the only thing it did was mark the project as checked out (I already had the latest version, so no Gets). I'll see if this happens in any other circumstances. |
-- Greg Stelmack, Red Storm Entertainment |
|
|
gstelmack
Ketchup Master
USA
76 Posts |
Posted - Aug 23 2004 : 09:50:07 AM
|
I might be able to shed a bit more light on this. This morning I started a new instance of VS.NET 2003. Opened my solution. Went and did some stuff for a bit. Came back, and opened a file in the solution. No files were open to this point, just the solution. The file that I opened is a custom resource file for our UI. It's not an extension that VS.NET or VAX recognize, nor does it have anything either of these two can parse (i.e. it should be treated like a text file).
As soon as I opened that file, a whole bunch of parsing took place. |
-- Greg Stelmack, Red Storm Entertainment |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Aug 23 2004 : 10:59:23 AM
|
Right, VAX doesn't start parsing until the first file is opened... |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Aug 23 2004 : 3:14:39 PM
|
Next build after 1246 will fix the problem with parsing. Parsing will start without requiring an open file.
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=2726 |
zen is the art of being at one with the two'ness |
Edited by - support on Aug 23 2004 3:23:13 PM |
|
|
|
Topic |
|