-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rubymine doesn’t show value of string variables by debugging time #25
Comments
@BugraBarin - any idea of what could cause this regression? Something in SketchUp or in RubyMine? We do have a known regression where the Ruby Console isn't displaying unicode characters correctly unless you do a |
I'm not sure. Maybe a Ruby version upgrade broke it. |
hm.. I don't see the encoding being wrong. I see strings created in the Ruby Console appear with UTF-8 encoding, which is what you expect. However there is a bug there typing just the name of a string variable in the Ruby Console will not display it correctly in the Ruby Console. This is just a Ruby Console bug. The string is fine. It will display correctly if you do
What do you mean by this? Did you replace the Ruby interpreter DLLs for SketchUp? |
What do you mean by this? Did you replace the Ruby interpreter DLLs for SketchUp? I've installed 1)RubyMine and 2)ruby 2.7.0 x64 with MSYS2 from https://rubyinstaller.org/downloads/ |
I think that might not matter. ...or, maybe in terms of code insight warnings...? |
I can see it on Win10(64bit) RM2019 -> SUPro2019(english ver) with SURubyDebugger.dll 1.2.0.0 with national encoded symbols in string variables!
for example
instead dname="1ящик" Rubymine shows in ‘watch’ window dname="1"
instead dname="полка" Rubymine shows dname=""
other words national symbols has been cutted… But in result of script job in Sketchup all values are work correctly. Only not visible by debugging time in RM.
National symbols was cutted but digit stay in place.
Usualy I can see wrong symbols when encoding incorrect.
but this case different!
Perhaps something wrong with my settings!
But the tests RM2019 with SU2016 and SURubyDebagger 1.0.2.0 - the variables printed correct.
You can use this script for repeat my case:
The text was updated successfully, but these errors were encountered: