Bug 32297 - WebCore source level debugging on Windows not reliable in some cases
Summary: WebCore source level debugging on Windows not reliable in some cases
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Steve Falkenburg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 16:24 PST by Steve Falkenburg
Modified: 2009-12-08 17:02 PST (History)
3 users (show)

See Also:


Attachments
Add ProgramDataBaseFileName to vsprops (1.52 KB, patch)
2009-12-08 16:46 PST, Steve Falkenburg
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Falkenburg 2009-12-08 16:24:58 PST
WebCore on Windows links as a static library.
Later in the build process, this static library is linked into WebKit.dll.

The WebCore build generates its symbolic information into a vc80.pdb file sitting in the WebCore obj directory.
Depending on how to components are built, this pdb can be lost.

This can result in an inability to source level debug the WebCore code.

A similar issue is discussed here:
http://stackoverflow.com/questions/253727/vc80-pdb-how-do-i-make-it-go-away-and-never-bother-me-again

The fix is to use a more applicable name for vc80.pdb, and to generate it into a folder alongside WebKit.lib. As long as the pdb is carried along the build process with WebKit.lib, symbols will be available for debugging.
Comment 1 Steve Falkenburg 2009-12-08 16:46:06 PST
Created attachment 44498 [details]
Add ProgramDataBaseFileName to vsprops
Comment 2 WebKit Review Bot 2009-12-08 16:50:30 PST
style-queue ran check-webkit-style on attachment 44498 [details] without any errors.
Comment 3 Adam Roben (:aroben) 2009-12-08 16:55:00 PST
Comment on attachment 44498 [details]
Add ProgramDataBaseFileName to vsprops

r=me
Comment 4 Steve Falkenburg 2009-12-08 17:02:16 PST
Fixed in http://trac.webkit.org/changeset/51881