summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/debugger/gdbbridge.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/qtcreator/debugger/gdbbridge.py b/share/qtcreator/debugger/gdbbridge.py
index 02029d700b..f228b76351 100644
--- a/share/qtcreator/debugger/gdbbridge.py
+++ b/share/qtcreator/debugger/gdbbridge.py
@@ -188,7 +188,11 @@ class PlainDumper:
def importPlainDumpers(args):
if args == "off":
- gdb.execute("disable pretty-printer .* .*")
+ try:
+ gdb.execute("disable pretty-printer .* .*")
+ except:
+ # Might occur in non-ASCII directories
+ warn("COULD NOT DISABLE PRETTY PRINTERS")
else:
theDumper.importPlainDumpers()