Xxxx has changed since last build. Doing full analysis…

Sysprogs forums Forums VisualGDB Xxxx has changed since last build. Doing full analysis…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11139
    Ophidian14
    Participant

    In trying to diagnose Clang Intellisense performance issues I’ve been studying the output from the “Clang Intelliesense Diagnostics Console” tab in VS.  In the following log snippet I am doing absolutely nothing except scrolling around in the file and clicking in different parts of the code (whitespace, braces, function headers).  Not editing the file and not saving it.  But the file keeps getting reparsed over and over.  And as I’ve posted in the past, this is problematic because each parse takes 30+ seconds and the file is sometimes locked during this time, disallowing me from saving anything.  How do I diagnose the spurious recompiles?

    [+0:00:20.971] Operation completed: Parse – HighlightBraces [1020 msec]
    [+0:00:27.613] Starting operation: Parse – Check
    [+0:00:27.615] Starting operation: Reparsing xxxrker.cpp
    [+0:00:28.896] Post-PSF state of  is outdated. The file will be reparsed
    [+0:00:28.924] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:00:30.104] No changed PSFs found, but xxxrker.cpp is outdated due to itself. Doing a quick PSF-based rebuild with 1 PSFs
    [+0:00:44.966] Starting operation: Exporting parse results
    [+0:00:44.965] Checking xxxrker.cpp for missing headers..
    [+0:00:44.965] No missing headers for xxxrker.cpp
    [+0:00:45.378] Operation completed: Exporting parse results [412 msec]
    [+0:00:45.378] Checked xxxrker.cpp: 2 error records
    [+0:00:45.536] Operation completed: Reparsing xxxrker.cpp [17920 msec]
    [+0:00:45.543] Operation completed: Parse – Check [17929 msec]
    [+0:00:45.863] Starting operation: Parse – HighlightBraces
    [+0:00:45.871] Operation completed: Parse – HighlightBraces [8 msec]
    [+0:01:30.473] Starting operation: Parse – QuickInfo
    [+0:01:30.493] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:01:31.683] No changed PSFs found. Doing a CodeComplete run with minimal reparsing
    [+0:01:49.373] Operation completed: Parse – QuickInfo [18900 msec]
    [+0:01:49.373] Starting operation: Parse – QuickInfo
    [+0:01:49.387] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:01:50.235] No changed PSFs found. Doing a CodeComplete run with minimal reparsing
    [+0:02:16.506] Operation completed: Parse – QuickInfo [27132 msec]
    [+0:02:16.506] Starting operation: Parse – QuickInfo
    [+0:02:16.521] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:02:17.205] No changed PSFs found. Doing a CodeComplete run with minimal reparsing
    [+0:02:43.135] Operation completed: Parse – QuickInfo [26629 msec]
    [+0:02:49.529] Starting operation: Parse – QuickInfo
    [+0:02:49.545] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:02:50.259] No changed PSFs found. Doing a CodeComplete run with minimal reparsing
    [+0:02:50.539] Operation completed: Parse – QuickInfo [1010 msec]
    [+0:02:55.835] Starting operation: Parse – HighlightBraces
    [+0:02:55.837] Operation completed: Parse – HighlightBraces [2 msec]
    [+0:02:58.787] Starting operation: Parse – HighlightBraces
    [+0:02:58.788] Operation completed: Parse – HighlightBraces [1 msec]
    [+0:03:04.341] Starting operation: Parse – HighlightBraces
    [+0:03:04.343] Operation completed: Parse – HighlightBraces [2 msec]
    [+0:03:08.229] Starting operation: Parse – HighlightBraces
    [+0:03:08.231] Operation completed: Parse – HighlightBraces [2 msec]
    [+0:03:10.141] Starting operation: Parse – HighlightBraces
    [+0:03:10.156] Found entity at cursor location: xxxxxx=s (b)
    [+0:03:11.012] Operation completed: Parse – HighlightBraces [870 msec]
    [+0:03:11.090] Starting operation: Parse – Check
    [+0:03:11.090] Starting operation: Reparsing xxxrker.cpp
    [+0:03:11.771] Post-PSF state of  is outdated. The file will be reparsed
    [+0:03:11.795] xxxrker.cpp has changed since last build. Doing full analysis..
    [+0:03:12.403] No changed PSFs found, but xxxrker.cpp is outdated due to itself. Doing a quick PSF-based rebuild with 1 PSFs
    [+0:03:25.692] Starting operation: Exporting parse results
    [+0:03:25.691] Checking xxxrker.cpp for missing headers..
    [+0:03:25.691] No missing headers for xxxrker.cpp
    [+0:03:26.090] Operation completed: Exporting parse results [398 msec]
    [+0:03:26.090] Checked xxxrker.cpp: 2 error records
    [+0:03:26.248] Operation completed: Reparsing xxxrker.cpp [15158 msec]
    [+0:03:26.254] Operation completed: Parse – Check [15164 msec]
    [+0:03:26.518] Starting operation: Parse – HighlightBraces
    [+0:03:26.533] Found entity at cursor location: xxxx=s (b)
    [+0:03:27.421] Operation completed: Parse – HighlightBraces [903 msec]

    #11157
    support
    Keymaster

    The “xxxrker.cpp has changed since last build. Doing full analysis..” message is actually misleading here. It is always shown during code completion runs (including QuickInfo).

    Feel free to try this build, it reports the reparsing events in a less confusing way: http://sysprogs.com/files/tmp/VisualGDB-5.3.1.1497.msi

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.