Displaying strings as UTF-8 in debugger's "variable" pane
Is there a way to set the display of strings while debugging? If I do this:
str = "Brontë"
puts str
it successfully shows me the string in the console tab.
However, if I add a breakpoint, in the Variables pane, it shows:
str = "Brontë"
I'm using Ruby 1.9.2, Rails 3.0.3, RubyMine 3.0.
[In case the UTF-8 characters in this post get messed up, the assignment uses an "e" with an umlaut. The variable pane shows two characters, a checkmark and a tick mark.]
Please sign in to leave a comment.
I am using ruby 1.8.7 and RubyMine 2(.0?).2--3.0.1 under WinXp
UTF-8 (cyrillic) always shows as "Binary data" in debug.
The fun stuff is that folks developing RM are russians (or ukrainians or belorusians or alike)))))) and they do not support their native encoding))))))
And seems like they have recently "podzabili" (give no attention) to this forum (((
sux.
--Yu
Is this feature/issue getting any attention at all?
I'm using ruby 1.8.7 and RubyMine 3.2.4 on Mac OsX Lion. It's a pain trying to figure out these values when all you see is "[Binary Data]" in your debug session.
-Carlos
Hello Carlos,
Feel free to reopen the issue: http://youtrack.jetbrains.net/issue/RUBY-7382 with your environment description.
Regards,
Oleg