Visual studio crashes while building all.sln. I have all the source files. Chrome.exe is also working fine. But, It's been a week, I am not able to build chromium from Visual Studio. It shows this error message.
Unable to start program* allocator_clang_newlib_x64. The system can not find the file specified.
CodePudding user response:
The all.sln
is a very big solution with all the Chromium source code as Visual C projects. It will make Visual Studio slow even on high end machine. So the recommended way to debug your Chromium fork is via a standalone Visual Studio project. You can follow the steps below:
- Open Visual Studio command prompt
- Navigate to your Chromium's
src
folder from that CLI - Open Visual Studio to debug your Chromium executable by typing the following
devenv /DEBUGEXE "out\YourBuildFolder\chrome.exe"
- Press
F5
to start debugging your source code.
Tip: If you want to start debugging by stopping at the entry point, on Solution Explorer pane, right click that project and choose Debug
-> Step into new instance
from the context menu.
You can use all.sln
to edit the source code and yes you have to compile it again for the changes to take effect.