STATUS_BREAKPOINT when adding `chrome` property to `window.idl`

109 views
Skip to first unread message

Aviad Pineles

unread,
Oct 23, 2020, 4:53:36 PM10/23/20
to Chromium-dev
Hi, I've added a property to the `window` object by modifying `window.idl`.

It all works fine when the property is named `foo` but if I change its name to `chrome` then I get a `STATUS_BREAKPOINT` error on the initial page and no navigation is possible.

This only occurs in interactive mode, but in headless mode it doesn't. It appears the `chrome` property conflicts with the normal property of the same name that is added by the interactive code.

How do I prevent this conflict?

Thanks

Bruce Dawson

unread,
Oct 24, 2020, 6:40:15 PM10/24/20
to Chromium-dev, pav...@gmail.com
You will probably get better answers if you create and upload a CL so that we can see exactly what it is you are trying to do.

It would also be helpful if you ran the resulting binary under a debugger so that you can share a call stack. STATUS_BREAKPOINT could be anyone of several thousand issues and a call stack would make things much clearer.

Looking at the breakpoint in the debugger may also make the problem clear to you - you may find you don't need our help any more.

Multiprocess debugging of Chrome can be tricky so another alternative would be to look in the user data dir for the crash dump that is generated and then load that into a debugger.

Bruce Dawson

unread,
Oct 25, 2020, 8:37:48 PM10/25/20
to Aviad Pineles, Chromium-dev
The chromium user-data-dir on Windows is in %localappdata%\Chromium. That puts the crash reports in %localappdata%\Chromium\User Data\Crashpad\reports.

I just checked there and on my machine I had 829 crash dump files, totalling 136 MB. I deleted them.

You can also specify the user-data-dir with the --user-data-dir=<directory> directive, or you can use tools like procmon to see where .dmp files are being created (generically useful technique).

Good luck.

On Sun, Oct 25, 2020 at 10:51 AM Aviad Pineles <pav...@gmail.com> wrote:
Bruce thank you for the reply! I will definitely try the measures you mentioned. Just one more question, where is the user data dir for chromium?

Thanks



--
Bruce Dawson

Aviad Pineles

unread,
Oct 30, 2020, 9:38:14 PM10/30/20
to Chromium-dev, Bruce Dawson, Aviad Pineles
Bruce thank you for the reply! I will definitely try the measures you mentioned. Just one more question, where is the user data dir for chromium?

Thanks

On Sunday, October 25, 2020 at 1:40:15 AM UTC+3 Bruce Dawson wrote:
Reply all
Reply to author
Forward
0 new messages