Reviewed by ggaren.
Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
* Drosera/DebuggerDocument.m:
(-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15389
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
+
+ Reviewed by ggaren.
+
+ Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=9869
+
+ * Drosera/DebuggerDocument.m:
+ (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
+
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by ggaren.
while (frame) {
if ([frame functionName])
[result addObject:[frame functionName]];
+ else
+ [result addObject:@"(global scope)"];
frame = [frame caller];
}
return [result autorelease];