Re: [webkit-dev] For debugging in xcode - Breakpoint does not work.
It'w working now. Thank you. BR. Kihong 2011년 12월 8일 오전 1:40, Dan Bernstein m...@apple.com님의 말: On Dec 6, 2011, at 11:01 PM, Kihong Kwon vim...@gmail.com wrote: Hello. I am a new to mac. Can anyone help me for debugging WebCore? I have a problem about breakpoint with xcode. What I want to say, I can't use a breakpoint with WebCore in the xcode. After finish to build webkit, I put a breakpoint to the DOMWindow.cpp (I put a breakpoint to DOMWindow::alert and make a alert for testing) But breakpoint does work. I did googling for this... I found below solution. but It doesn't work too. 1. Launch safari. In order for the instance of Safari you're trying to debug to link against the WebCore framework you've built, rather than the system WebCore, you need to launch it in a way that sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products directory. One easy way to do this is to use Tools/Scripts/run-safari. Another way is to add Safari as a custom executable to the Xcode project. Also, make sure that you are building all of the projects (JavaScriptCore, WebCore, WebKit and WebKit2) and that they're all building into the same directory. Again, the build-webkit script takes care of this for you. 2. Run - attach to process - select WebProcess (My XCODE version is 3.2.6) 3. Click debug in the WebCore project window. Did I make wrong? or have I to do anything else? Thanks in advance Kihong ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] For debugging in xcode - Breakpoint does not work.
On Dec 6, 2011, at 11:01 PM, Kihong Kwon vim...@gmail.com wrote: Hello. I am a new to mac. Can anyone help me for debugging WebCore? I have a problem about breakpoint with xcode. What I want to say, I can't use a breakpoint with WebCore in the xcode. After finish to build webkit, I put a breakpoint to the DOMWindow.cpp (I put a breakpoint to DOMWindow::alert and make a alert for testing) But breakpoint does work. I did googling for this... I found below solution. but It doesn't work too. 1. Launch safari. In order for the instance of Safari you're trying to debug to link against the WebCore framework you've built, rather than the system WebCore, you need to launch it in a way that sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products directory. One easy way to do this is to use Tools/Scripts/run-safari. Another way is to add Safari as a custom executable to the Xcode project. Also, make sure that you are building all of the projects (JavaScriptCore, WebCore, WebKit and WebKit2) and that they're all building into the same directory. Again, the build-webkit script takes care of this for you. 2. Run - attach to process - select WebProcess (My XCODE version is 3.2.6) 3. Click debug in the WebCore project window. Did I make wrong? or have I to do anything else? Thanks in advance Kihong ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] For debugging in xcode - Breakpoint does not work.
Hello. I am a new to mac. Can anyone help me for debugging WebCore? I have a problem about breakpoint with xcode. What I want to say, I can't use a breakpoint with WebCore in the xcode. After finish to build webkit, I put a breakpoint to the DOMWindow.cpp (I put a breakpoint to DOMWindow::alert and make a alert for testing) But breakpoint does work. I did googling for this... I found below solution. but It doesn't work too. 1. Launch safari. 2. Run - attach to process - select WebProcess (My XCODE version is 3.2.6) 3. Click debug in the WebCore project window. Did I make wrong? or have I to do anything else? Thanks in advance Kihong ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev