在 Visual Studio 中调试 Webkit
我可以在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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).