[Webkit-unassigned] [Bug 100566] New: JSC: a JSC printf (support for %J+s and %b)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 26 15:16:34 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100566
Summary: JSC: a JSC printf (support for %J+s and %b)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mark.lam at apple.com
CC: ggaren at apple.com, oliver at apple.com,
barraclough at apple.com, msaboff at apple.com,
fpizlo at apple.com, mhahnenberg at apple.com
Ever want to call printf() on that WTF::String? Well now you can with VMInspector::printf(). Here's the skinny:
Added VMInspector::printf(), fprintf(), sprintf(), and snprintf().
- %b prints ints as boolean TRUE (non-zero) or FALSE (zero).
- %Js prints a WTF::String* like a %s prints a char*.
Also works for 16bit WTF::Strings (prints wchar_t* using %S).
- %J+s prints the WTF::String in verbose mode.
The + means verbose.
Of course, they also work on any % formats that the standard ...printf() functions work on as well.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list