Skip to content

Commit 4ef04c4

Browse files
committed
It looks like String#inspect for var's representation creates more problem than fixes
1 parent 26fbd6a commit 4ef04c4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [0.4.30](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.29...v0.4.30)
22

3+
* reverting fix for
4+
[RUBY-16192](https://youtrack.jetbrains.com/issue/RUBY-16192) to resolve
5+
[RUBY-16435](https://youtrack.jetbrains.com/issue/RUBY-16435)
6+
37
* unescaping of empty line fixed
48
[RUBY-16600](https://youtrack.jetbrains.com/issue/RUBY-16600)
59

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def print_variable(name, value, kind)
154154
end
155155
elsif value.is_a?(String)
156156
has_children = value.respond_to?('bytes') || value.respond_to?('encoding')
157-
value_str = value.inspect[1..-2]
157+
value_str = value
158158
else
159159
has_children = !value.instance_variables.empty? || !value.class.class_variables.empty?
160160
value_str = value.to_s || 'nil' rescue "<#to_s method raised exception: #{$!}>"

0 commit comments

Comments
 (0)