views:

12

answers:

0

Hey, I'm in WebKit setting my own script delegate using setScriptDebugDelegate. I'm trying to figure out what code is being parsed by the javascript interpreter in the willExecuteStatement function.

How do I figure out what statement is being executed?

Function prototype..
- (void)webView:(WebView *)webView willExecuteStatement:(id)frame
       sourceId:(int)sid
           line:(int)lineno
    forWebFrame:(WebFrame *)webFrame;

Thanks ASH