Added simple JavaScript call tracing. Very useful for
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Oct 2004 21:30:47 +0000 (21:30 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Oct 2004 21:30:47 +0000 (21:30 +0000)
commit831e7ce13d2e9ffe616f69528cedc35997b82d0f
tree70482768c27ea64237cf6733933dbf840ff47868
parent059ef3be9b5764ec8c1337555d1c8b698d9bb069
Added simple JavaScript call tracing.  Very useful for
        debugging complex pages.

Tracing is only available in development builds and is
enabled by:

(gdb) set traceJavaScript = 1

or programatically

setTraceJavaScript(true)

Function, args, and return values are printed to console.  Very
verbose.

        Reviewed by Ken.

        * kjs/function_object.cpp:
        (FunctionProtoFuncImp::call):
        * kjs/object.cpp:
        (KJS::Object::call):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/function_object.cpp
JavaScriptCore/kjs/object.cpp