Changeset 12908 in webkit for trunk/JavaScriptCore/kjs/interpreter.cpp
- Timestamp:
- Feb 20, 2006, 11:43:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.cpp
r12317 r12908 124 124 CString f = sourceURL.UTF8String(); 125 125 CString message = comp.value()->toObject(exec)->toString(exec).UTF8String(); 126 int line = comp.value()->toObject(exec)->get(exec, "line")->toUInt32(exec); 126 127 #ifdef WIN32 127 printf("%s:%s\n", f.c_str(), message.c_str());128 printf("%s line %d: %s\n", f.c_str(), line, message.c_str()); 128 129 #else 129 printf("[%d] %s:%s\n", getpid(), f.c_str(), message.c_str());130 printf("[%d] %s line %d: %s\n", getpid(), f.c_str(), line, message.c_str()); 130 131 #endif 131 132 }
Note:
See TracChangeset
for help on using the changeset viewer.