From 848fdce18ecf5c71dee8d22c93adaf15d95f4b2f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 3 Aug 2007 00:22:09 -0700 Subject: [PATCH] Making the status text portray the actual status of the debug session * Source/DebuggerConnection.m: ([DebuggerConnection updateStatus:]): The status XML document is now parsed and the status is set properly --- Source/DebuggerConnection.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/DebuggerConnection.m b/Source/DebuggerConnection.m index a279d3b..d643e5a 100644 --- a/Source/DebuggerConnection.m +++ b/Source/DebuggerConnection.m @@ -137,7 +137,9 @@ */ - (void)updateStatus: (NSString *)packet { - [_windowController setStatus: packet]; + NSXMLDocument *doc = [[NSXMLDocument alloc] initWithXMLString: packet options: NSXMLDocumentTidyXML error: nil]; + [_windowController setStatus: [[[[doc rootElement] attributeForName: @"status"] stringValue] capitalizedString]]; + [doc release]; } @end -- 2.22.5