How attach render process on vs2015

421 views
Skip to first unread message

張君豪

unread,
Jun 3, 2016, 1:47:13 PM6/3/16
to Chromium-dev
When I successfully build chrome.exe file, I'm reference Debugging Chromium on Windows to attach child process. 

I want see V8 and set breakpoint in blink, so I have to attach render process. But I have some error...

I'm use「devenv /debugexe out\Debug\chrome.exe --renderer-startup-dialog --no-sandbox」command in cmd,  It open these item in vs2015(this is correct?).

And I use "F5" to run this project, it can open browser and show pid.

But I can't attach these pid... Some people has same problem?

error like 「unable to attach to the process. an operation is not legal in the current state.」



Marshall Greenblatt

unread,
Jun 3, 2016, 1:54:06 PM6/3/16
to jhangj...@gmail.com, Chromium-dev
In the "Attach to Process" dialog click the "Select..." button next to the "Attach to" field and select "Native" only.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

張君豪

unread,
Jun 4, 2016, 3:54:25 AM6/4/16
to Chromium-dev, jhangj...@gmail.com
Thanks your approach, but I didn't anything happen after attached child process.

When I was in picture1 mode, I can't see any file(*.h or *.ccp), and how can I set breakpoint?


Marshall Greenblatt於 2016年6月4日星期六 UTC+8上午1時54分06秒寫道:

Thiago Farina

unread,
Jun 4, 2016, 4:19:57 AM6/4/16
to jhangj...@gmail.com, Chromium-dev


On Saturday, June 4, 2016, 張君豪 <jhangj...@gmail.com> wrote:
Thanks your approach, but I didn't anything happen after attached child process.

When I was in picture1 mode, I can't see any file(*.h or *.ccp), and how can I set breakpoint?

This seems to be a general user (of using vs debugger) question rather than one
specific to Chromium development.

You may try on stackoverflow or in your favorite search engine.




--
Thiago Farina

Reply all
Reply to author
Forward
0 new messages