2007-12-16 Brent Fulgham <bfulgham@gmail.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Dec 2007 01:20:57 +0000 (01:20 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Dec 2007 01:20:57 +0000 (01:20 +0000)
        Reviewed by Maciej Stachowiak.


        * building/debug.html:  Update to expand the win32 debugging instructions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28783 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitSite/building/console_vs2005.jpg [new file with mode: 0644]
WebKitSite/building/debug_vs2005.jpg [new file with mode: 0644]

index 8bbdde2..bdcf401 100644 (file)
@@ -1,3 +1,11 @@
+2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
+        Reviewed by Maciej Stachowiak.
+        http://bugs.webkit.org/show_bug.cgi?id=16446.
+        * building/debug.html:  Update to expand the win32 debugging instructions.
 2007-12-07  Brady Eidson  <beidson@apple.com>
         Reviewed by Darin's rubberstamp
diff --git a/WebKitSite/building/console_vs2005.jpg b/WebKitSite/building/console_vs2005.jpg
new file mode 100644 (file)
index 0000000..cb31630
Binary files /dev/null and b/WebKitSite/building/console_vs2005.jpg differ
index 3ddf9fe..c27269d 100644 (file)
 <h2>Debugging on Windows</h2>
 <p>To launch Safari in the Visual Studio or Visual C++ Express debugger, simply run:</p>
 <p class="code">debug-safari</p>
+<p>This command will launch the Visual Studio debugging environment, and attach to Safari connected to the debug build of WebKit.dll.  There are a few things to keep in mind:
+<li>The instance of Safari is not running yet.  You must press the F5 key (or the 'Run' button) to see anything happen.</li>
+<li>If you want to set any breakpoints, you must navigate to the particular source file you wish to investigate using the "File|Open" menu.</li>
+<li><p>If you want to see the helpful output debug messages, you should edit the debug settings for the Safari solution (i.e., the pseudo-project created when the debugger attached to Safari):</p>
+<img src="debug_vs2005.jpg">
+<p>You should consider including the command-line switch '<span class="code">/console</span>'.  This causes Safari to run with an open DOS shell in which output messages, created with the <span class="code">LOG</span> macro, appear.</p>
+<img src="console_vs2005.jpg"></li>
diff --git a/WebKitSite/building/debug_vs2005.jpg b/WebKitSite/building/debug_vs2005.jpg
new file mode 100644 (file)
index 0000000..0d92de0
Binary files /dev/null and b/WebKitSite/building/debug_vs2005.jpg differ