From 044a9aa91c6bb2a1b548248623a8dcc48d3da098 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 3 May 2017 13:26:36 +0300 Subject: [PATCH] IDEA-172289 Wrong text displayed by 'View Text' in Java debugger --- .../src/com/intellij/debugger/actions/ViewTextAction.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/actions/ViewTextAction.java b/java/debugger/impl/src/com/intellij/debugger/actions/ViewTextAction.java index 922c96a88b3e..c92ba1ab7574 100644 --- a/java/debugger/impl/src/com/intellij/debugger/actions/ViewTextAction.java +++ b/java/debugger/impl/src/com/intellij/debugger/actions/ViewTextAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -56,7 +56,8 @@ public class ViewTextAction extends XFetchValueActionBase { @Override public void handleInCollector(Project project, String value, XDebuggerTree tree) { - String text = StringUtil.unquoteString(value); + // do not unquote here! Value here must be correct already + String text = value; //StringUtil.unquoteString(value); if (dialog == null) { dialog = new MyDialog(project, text, node); dialog.setTitle(ActionsBundle.message(node != null ? "action.Debugger.ViewEditText.text" : "action.Debugger.ViewText.text"));