[Debugging With the Visual Studio IDE] Unable to start program "allocator_irt_x64". The system cannot find the file specified.

748 views
Skip to first unread message

Jack Winter

unread,
Oct 1, 2021, 7:08:36 PM10/1/21
to Chromium-dev
I followed the steps in the link below and I want to test and test Breakpoints in Chromium with VS2019, but I am encountering an error.


ERROR:

Unable to start program "D:\chromium\src\out\Default\allocator_irt_x64".
The system cannot find the file specified.

err.jpg


I've been dealing with this error for about 1 week and it didn't get fixed even though I completely reset my computer 4 times. When I did these operations for the first time, it worked albeit slowly, but I can't run it anymore.
When I checked the path in the Error, I realized that it was not. But I don't know how to fix this.

path.jpg

Jack Winter

unread,
Oct 1, 2021, 7:11:09 PM10/1/21
to Chromium-dev
I followed the steps in the link below and I want to test and test Breakpoints in Chromium with VS2019, but I am encountering an error.


ERROR:

Unable to start program "D:\chromium\src\out\Default\allocator_irt_x64".
The system cannot find the file specified.


err.jpg


I've been dealing with this error for about 1 week and it didn't get fixed even though I completely reset my computer 4 times. When I did these operations for the first time, it worked albeit slowly, but I can't run it anymore.

path.jpg

When I checked the path in the Error, I noticed that the path specified does not exist. But I don't know how to fix this. Also, sometimes when I delete everything and reinstall, I get the error that "allocator_clang_newlib_x64" is not found and it still doesn't work.

Note:

There are issues that I checked for similar issues and it seems there are similar but different files not being loaded, but I couldn't find a valid solution.

"gclient sync" didn't work.



Petter Nilsen

unread,
Oct 4, 2021, 5:58:18 AM10/4/21
to samet...@gmail.com, Chromium-dev
On Friday, October 1, 2021 22:22:12 (+02:00), Jack Winter wrote:

I followed the steps in the link below and I want to test and test Breakpoints in Chromium with VS2019, but I am encountering an error.


ERROR:

Unable to start program "D:\chromium\src\out\Default\allocator_irt_x64".
The system cannot find the file specified.


You need to set Chrome as the startup project in VS.

- Petter

Petter Nilsen

unread,
Oct 4, 2021, 10:21:08 AM10/4/21
to Chromium-dev, Jack Winter
On Monday, October 4, 2021 13:10:07 (+02:00), Jack Winter wrote:

How can I do that? When you say Chrome, are you talking about Chrome.exe? So before I do this I need to call the below command?
autoninja -C out\Default chrome

4 Ekim 2021 Pazartesi tarihinde saat 12:58:18 UTC+3 itibarıyla pet...@vivaldi.com şunları yazdı:

Look for it in the solution explorer in Visual Studio (you can search for it), right click the Chrome project and set it as startup project. 

--
Petter Nilsen, Senior Software Developer, Vivaldi Technologies AS

Jack Winter

unread,
Oct 4, 2021, 12:52:52 PM10/4/21
to Chromium-dev, Jack Winter

Visual Studio Installer:

vsinstaller.jpg

My command steps:

  1. mkdir chromium && cd chromium
  2. fetch --no-history chromium
  3. cd src
  4. gn gen --ide=vs --filters=//chrome out\Default
  5. call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" out\Default\all.sln
2 Ekim 2021 Cumartesi tarihinde saat 02:11:09 UTC+3 itibarıyla Jack Winter şunları yazdı:

Jack Winter

unread,
Oct 4, 2021, 12:55:32 PM10/4/21
to Chromium-dev, pet...@vivaldi.com, Jack Winter
How can I do that? When you say Chrome, are you talking about Chrome.exe? So before I do this I need to call the below command?
autoninja -C out\Default chrome

4 Ekim 2021 Pazartesi tarihinde saat 12:58:18 UTC+3 itibarıyla pet...@vivaldi.com şunları yazdı:
On Friday, October 1, 2021 22:22:12 (+02:00), Jack Winter wrote:

Jack Winter

unread,
Oct 4, 2021, 12:55:55 PM10/4/21
to Chromium-dev, pet...@vivaldi.com, Jack Winter
thank you so much, it worked. <3 :)

4 Ekim 2021 Pazartesi tarihinde saat 17:21:08 UTC+3 itibarıyla pet...@vivaldi.com şunları yazdı:
Reply all
Reply to author
Forward
0 new messages