From a5b7f7d3c5027e802c9118bde6405d045087fa36 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Fri, 5 Mar 2010 09:20:31 +0100
Subject: [PATCH] debugger: fix testArray() test case

---
 share/qtcreator/gdbmacros/dumper.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 32585c843f0..aa9bcfd0f9e 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -557,7 +557,10 @@ class FrameCommand(gdb.Command):
             try:
                 #warn("ITEM VALUE %s: " % item.value)
                 # Throw on funny stuff, catch below.
-                dummy = str(item.value)
+                # Unfortunately, this fails also with a "Unicode encoding error"
+                # in testArray().
+                #dummy = str(item.value)
+                pass
             except:
                 # Locals with failing memory access.
                 d.beginHash()
-- 
GitLab