在 Visual Studio 中调试 Webkit

发布于 2024-12-20 13:49:12 字数 225 浏览 1 评论 0原文

我可以在 Visual Studio 2008 下在 windows7 上构建 webkit。但是为了调试的目的,当我在源代码中放置断点时,任何断点都没有命中。我能够下载项目所需的每个模块的符号。运行该项目后,它只是启动 Safari,而不触发断点。有没有人对此有任何想法或一些链接来参考使用 Visual Studio 调试器重新分级调试 webkit。我已经查看了 WebKit 网站上提供的信息并遵循了所有步骤,但仍然无法调试..

I am able to build webkit on windows7 under Visual Studio 2008..But for the purpose of debugging when I am putting breakpoints in source code, any of the breakpoints are not hitting. I am able to download symbols for every module required for the project. After running the project it is just launching the Safari without firing the breakpoints. Does anybody have any ideas about it or some links to refer regrading debugging webkit with visual Studio debugger. I have already looked the information provided on WebKit website and followed all steps but still unable to debug..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

十年九夏 2024-12-27 13:49:12

WebKit 不久前开始使用多进程架构 (WebKit2),因此您应该在启动 Safari 后附加到 WebKit2WebProcess 进程(请参阅 http://trac.webkit.org/wiki/Debugging%20the%20WebKit2%20Web%20Process#UsingVisualStudio2005onWindows:供参考)。

WebKit has started using a multiprocess architecture (WebKit2) a while ago, so you should attach to the WebKit2WebProcess process after launching Safari (see http://trac.webkit.org/wiki/Debugging%20the%20WebKit2%20Web%20Process#UsingVisualStudio2005onWindows: for the reference).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文