WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36980
Add object addresses to debug showLayerTree() output.
https://bugs.webkit.org/show_bug.cgi?id=36980
Summary
Add object addresses to debug showLayerTree() output.
Simon Fraser (smfr)
Reported
2010-04-01 14:03:49 PDT
It would be useful if showLayerTree() when called from gdb showed the object addresses.
Attachments
Patch
(7.27 KB, patch)
2010-04-01 14:18 PDT
,
Simon Fraser (smfr)
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2010-04-01 14:18:46 PDT
Created
attachment 52334
[details]
Patch
Darin Adler
Comment 2
2010-04-01 16:16:39 PDT
Comment on
attachment 52334
[details]
Patch
> + if (behavior & RenderAsTextShowAddresses) > + ts << " " << static_cast<const void*>(&o);
What happens if you don't do the static_cast? Does it fail to compile? Can you leave the cast out? r=me
Simon Fraser (smfr)
Comment 3
2010-04-01 16:46:20 PDT
I was able to remove the casts!
http://trac.webkit.org/changeset/56948
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug