NZNobody

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • NZNobody
    Participant

    Hello,

     

    I can confirm that if I trigger a reparse by say saving the current file, I CAN still access code-completion during that time.

    If I however trigger a full rebuild (by say saving the .cpp, and switching to .hpp, or without the preamble guard), then I CANNOT access code completion during rebuild. View below excerpt for example:

     

    [+0:06:18.300] Active document changed to C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:06:18.316] Checking c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp for missing headers..
    [+0:06:18.316] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:06:18.327] Starting operation: Parse - Check
    [+0:06:18.327] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:06:18.479] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built
    [+0:06:18.495] c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp has not changed since last build. Doing a quick recheck..
    [+0:06:18.603] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built
    [+0:06:19.568] Starting operation: Parse - CompleteWord
    [+0:06:19.569] Starting operation: Code Completion at rex_interface.cpp:(104,2)
    [+0:06:43.896] Previously missing gnu/stubs-soft.h is still missin
    [+0:06:43.896] No changed PSFs found. Doing a CodeComplete run with minimal reparsing
    [+0:06:44.028] Operation completed: Code Completion at rex_interface.cpp:(104,2) [24459 msec]
    [+0:06:44.028] Code completion yielded 13013 suggestions (raw time: 24446/82/1/7 msec)
    [+0:06:44.028] Operation completed: Parse - CompleteWord [24460 msec]

    I look forward to the release version! Thanks a lot for your help, I guess we could consider this partially solved.

    NZNobody
    Participant

    I can confirm that explicitly ending the preamble reduced re-parsing times for the .cpp file from roughly 38s to 11s.

    Maybe there is a similar trick for the .hpp file, but since in the .hpp I don’t explicitly ‘include’ the .cpp file I don’t know how to separate these. You are right, technically I modified the .cpp file by re-saving it. Then simply switching back to the .hpp causes a re-parse. In my normal programming behavior I am often saving my source files and then briefly wanting to look at a header for information, so then having to wait 30+s to carry on is inconvenient.

    Regards,

    NZNobody
    Participant

    Hello,

    I checked versions, as in first post I was on 5.2 (Preview 1). I noted that there was a preview 3 and installed that, but the same actions produce the same results sadly. LOG FILE.

    Saving (with no changes) the .cpp causes a 30s rebuild when switching to the .hpp

    [+0:02:57.914] Operation completed: Parse - Check [31605 msec]

    VGDB Version 5.2 (Beta 3)

    Thanks 🙂

    NZNobody
    Participant

    Hello,

    Thanks for your suggestions. I have tested them with the following results:

    Inserting the ‘IntelliSense Interupt’ c++ line as suggested does indeed reduce the rebuild time, by changing type.

    PRIOR to inserting the line:

    [+0:18:41.877] Rebuilding PSF 0 (normal preamble)...

    [+0:19:19.786] Operation completed: Parse - Check [38164 msec]

     

    POST inserting the line:

    [+0:15:34.040] Found an outdated PSF 1 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built.

    [+0:15:44.604] Operation completed: Parse - Check [10827 msec]

     

    However, there still remains a few key issues.

    1. The 10-11 second update is still performed every time that I save the document. I’m guessing this is unavoidable, even if no contect of the document has changed. It is the case often that I press CTRL-S a lot, just out of habbit. This is quickly a very frustrating habbit with no autocomplete for the next 10-11 seconds.
    2. The update length for just changed the .cpp file (obviously increased). Without the interrupting line, it was only 9.5s, with it was 10.5 (Checked multiple times).
    3. I still get a 30+ second rebuild if I save the .cpp file and switch to the header. This is a little odd, since ‘technically’ the header doesn’t know of the source. It appears to default to: [+0:22:28.903] Rebuilding PSF 0 (normal preamble)…

    Again please find the full log of this session HERE, with the important sections pasted below:

    Pre interrupt line

    [+0:18:29.827] Starting operation: Parse - Check
    [+0:18:29.831] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:18:30.003] Previously missing gnu/stubs-soft.h is still missing
    [+0:18:30.003] Post-PSF state of is outdated. The file will be reparsed.
    [+0:18:30.018] c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp has changed since last build. Doing full analysis...
    [+0:18:30.175] Previously missing gnu/stubs-soft.h is still missing
    [+0:18:30.175] No changed PSFs found, but c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp is outdated due to itself. Doing a quick PSF-based rebuild with 1 PSFs.
    [+0:18:30.175] Starting fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:18:34.426] Starting fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:18:38.352] Completed fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:18:38.480] Completed fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:18:38.480] Starting operation: Exporting parse results
    [+0:18:38.480] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:18:38.480] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:18:38.653] Operation completed: Exporting parse results [172 msec]
    [+0:18:38.653] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp: 0 error records
    [+0:18:38.740] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp [8908 msec]
    [+0:18:38.743] Operation completed: Parse - Check [8915 msec]
    [+0:18:38.766] Starting operation: Parse - HighlightBraces
    [+0:18:38.767] Operation completed: Parse - HighlightBraces [0 msec]
    [+0:18:41.615] Active document changed to C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:18:41.615] Checking c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp for missing headers...
    [+0:18:41.615] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp.
    [+0:18:41.621] Starting operation: Parse - Check
    [+0:18:41.621] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:18:41.738] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built.
    [+0:18:41.754] c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp has not changed since last build. Doing a quick recheck...
    [+0:18:41.862] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built.
    [+0:18:41.877] Rebuilding PSF 0 (normal preamble)...
    [+0:18:41.877] Starting fpsBuildingPreamble on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:06.653] Completed fpsBuildingPreamble on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:06.653] Successfully rebuilt PSF 0 (normal preamble)...
    [+0:19:06.653] Saving PSF 0 (normal preamble) to C:\Users\manu.lange\Source\ROS_Projects\CodeDB\rex_interface-Release-Win32\rex_interface.npd...
    [+0:19:06.653] Starting fpsSavingPSF on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:06.702] Completed fpsSavingPSF on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:06.702] Successfully saved PSF 0 (normal preamble)...
    [+0:19:06.702] Starting fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:13.669] Starting fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:19.290] Completed fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:19.448] Completed fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:19:19.448] Checking c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp for missing headers...
    [+0:19:19.448] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp.
    [+0:19:19.449] Starting operation: Exporting parse results
    [+0:19:19.663] Operation completed: Exporting parse results [214 msec]
    [+0:19:19.663] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp: 0 error records
    [+0:19:19.780] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp [38159 msec]
    [+0:19:19.786] Operation completed: Parse - Check [38164 msec]
    [+0:19:19.867] Starting operation: Parse - HighlightBraces
    [+0:19:19.867] Operation completed: Parse - HighlightBraces [0 msec]

     

    Post:

    [+0:15:18.884] Active document changed to C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:18.884] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:15:18.884] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:15:18.890] Starting operation: Parse - Check
    [+0:15:18.890] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:19.086] Previously missing gnu/stubs-soft.h is still missing
    [+0:15:19.086] Saved data for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp is up to date.
    [+0:15:19.086] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:15:19.086] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:15:19.086] Starting operation: Exporting parse results
    [+0:15:19.243] Operation completed: Exporting parse results [157 msec]
    [+0:15:19.243] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp: 3 error records
    [+0:15:19.324] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp [433 msec]
    [+0:15:19.324] Operation completed: Parse - Check [434 msec]
    [+0:15:19.365] Starting operation: Parse - HighlightBraces
    [+0:15:19.365] Operation completed: Parse - HighlightBraces [0 msec]
    [+0:15:21.832] Starting operation: Parse - Check
    [+0:15:21.834] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:22.007] Previously missing gnu/stubs-soft.h is still missing
    [+0:15:22.007] Post-PSF state of is outdated. The file will be reparsed.
    [+0:15:22.023] c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp has changed since last build. Doing full analysis...
    [+0:15:22.176] Previously missing gnu/stubs-soft.h is still missing
    [+0:15:22.176] No changed PSFs found, but c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp is outdated due to itself. Doing a quick PSF-based rebuild with 1 PSFs.
    [+0:15:22.176] Starting fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:26.624] Starting fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:30.452] Completed fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:30.588] Completed fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:15:30.588] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:15:30.588] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:15:30.588] Starting operation: Exporting parse results
    [+0:15:30.769] Operation completed: Exporting parse results [180 msec]
    [+0:15:30.769] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp: 3 error records
    [+0:15:30.936] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp [9102 msec]
    [+0:15:30.942] Operation completed: Parse - Check [9109 msec]
    [+0:15:30.976] Starting operation: Parse - HighlightBraces
    [+0:15:30.976] Operation completed: Parse - HighlightBraces [0 msec]
    [+0:15:33.770] Active document changed to C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:15:33.771] Checking c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp for missing headers...
    [+0:15:33.771] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp.
    [+0:15:33.776] Starting operation: Parse - Check
    [+0:15:33.777] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp
    [+0:15:33.906] Previously missing gnu/stubs-soft.h is still missing
    [+0:15:33.906] Found an outdated PSF 1 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built.
    [+0:15:33.922] c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp has not changed since last build. Doing a quick recheck...
    [+0:15:34.040] Previously missing gnu/stubs-soft.h is still missing
    [+0:15:34.040] Found an outdated PSF 1 due to c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp during initial check. It will be re-built.
    [+0:15:34.040] Starting fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:15:40.791] Starting fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:15:44.201] Completed fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:15:44.337] Starting operation: Exporting parse results
    [+0:15:44.337] Completed fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp
    [+0:15:44.337] Checking c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp for missing headers...
    [+0:15:44.337] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp.
    [+0:15:44.514] Operation completed: Exporting parse results [176 msec]
    [+0:15:44.514] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp: 0 error records
    [+0:15:44.599] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\src\rex_interface.cpp [10822 msec]
    [+0:15:44.604] Operation completed: Parse - Check [10827 msec]
    [+0:15:44.671] Starting operation: Parse - HighlightBraces
    [+0:15:44.672] Operation completed: Parse - HighlightBraces [0 msec]

     

    Long Header rebuild:

    [+0:22:28.865] Active document changed to C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:28.866] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:22:28.866] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:22:28.871] Starting operation: Parse - Check
    [+0:22:28.871] Starting operation: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:28.871] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp during initial check. It will be re-built.
    [+0:22:28.899] c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp has not changed since last build. Doing a quick recheck...
    [+0:22:28.899] Found an outdated PSF 0 due to c:\users\manu.lange\source\ros_projects\rex_interface\src\rex_interface.cpp during initial check. It will be re-built.
    [+0:22:28.903] Rebuilding PSF 0 (normal preamble)...
    [+0:22:28.903] Starting fpsBuildingPreamble on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:50.120] Completed fpsBuildingPreamble on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:50.120] Successfully rebuilt PSF 0 (normal preamble)...
    [+0:22:50.120] Saving PSF 0 (normal preamble) to C:\Users\manu.lange\Source\ROS_Projects\CodeDB\rex_interface-Release-Win32\tmp00000003.npd...
    [+0:22:50.120] Starting fpsSavingPSF on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:50.166] Completed fpsSavingPSF on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:50.166] Successfully saved PSF 0 (normal preamble)...
    [+0:22:50.166] Starting fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:54.274] Starting fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:58.588] Completed fpsAnalyzingReferences on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:58.728] Completed fpsParsingFileBody on c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp
    [+0:22:58.728] Starting operation: Exporting parse results
    [+0:22:58.728] Checking c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp for missing headers...
    [+0:22:58.728] No missing headers for c:\users\manu.lange\source\ros_projects\rex_interface\include\rex_interface\rex_interface.hpp.
    [+0:22:58.890] Operation completed: Exporting parse results [161 msec]
    [+0:22:58.890] Checked C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp: 0 error records
    [+0:22:59.131] Operation completed: Reparsing C:\Users\manu.lange\Source\ROS_Projects\rex_interface\include\rex_interface\rex_interface.hpp [30260 msec]
    [+0:22:59.137] Operation completed: Parse - Check [30266 msec]
    [+0:22:59.179] Starting operation: Parse - HighlightBraces
    [+0:22:59.179] Operation completed: Parse - HighlightBraces [0 msec]

Viewing 4 posts - 1 through 4 (of 4 total)