From 441d4992fe91acd55f3becaaab6da1fc4f0dfae7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 1 May 2011 13:03:35 -0400 Subject: [PATCH] Get the base64-decoded value of the when showing evaluated script responses --- Source/DebuggerBackEnd.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/DebuggerBackEnd.m b/Source/DebuggerBackEnd.m index 295851c..d8500f2 100644 --- a/Source/DebuggerBackEnd.m +++ b/Source/DebuggerBackEnd.m @@ -513,7 +513,9 @@ */ - (void)evalScriptReceived:(NSXMLDocument*)response { - [delegate scriptWasEvaluatedWithResult:[response stringValue]]; + NSXMLElement* parent = (NSXMLElement*)[[response rootElement] childAtIndex:0]; + NSString* value = [parent base64DecodedValue]; + [delegate scriptWasEvaluatedWithResult:value]; } /** -- 2.43.5