If the project file references an unexpected path, the GUI deadlocks / crashes.
See the attached project file.
Open the project and answer the question for a path with "yes".
I have tested it with this project under Windows 7, so C:/ exists.
First Cppcheck scans all directories and files under C:/ for source code it can analyze.
During this process the GUI is indeed unresponsive and it looks like it hangs, but Cppcheck is working. After a while the found source code files are analyzed (over 200000 on my PC). During the analysis the GUI is responsive and i can abort the analysis.
It makes not really a difference whether i let Cppcheck create the build dir or not (Answering the question with yes or no).
I that what you also observe?
I guess the GUI should be responsive or at least show some moving process bar or something like that while it is searching for files. Is that what you are missing too?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh - I see - it is trying to scan my harddisk - that is a horrible fight of course. Actually, I wanted to only save the build output to c:/something and somehow I came to this project file.
I agree, that this is not really a bug but somewhat unlucky. A progress indicator or some other status message would be nice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the project file references an unexpected path, the GUI deadlocks / crashes.
See the attached project file.
Open the project and answer the question for a path with "yes".
test.cppcheck contains the following data:
I have tested it with this project under Windows 7, so
C:/
exists.First Cppcheck scans all directories and files under
C:/
for source code it can analyze.During this process the GUI is indeed unresponsive and it looks like it hangs, but Cppcheck is working. After a while the found source code files are analyzed (over 200000 on my PC). During the analysis the GUI is responsive and i can abort the analysis.
It makes not really a difference whether i let Cppcheck create the build dir or not (Answering the question with yes or no).
I that what you also observe?
I guess the GUI should be responsive or at least show some moving process bar or something like that while it is searching for files. Is that what you are missing too?
Oh - I see - it is trying to scan my harddisk - that is a horrible fight of course. Actually, I wanted to only save the build output to c:/something and somehow I came to this project file.
I agree, that this is not really a bug but somewhat unlucky. A progress indicator or some other status message would be nice.