This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136879 - quotation signs not shown in debugger
Summary: quotation signs not shown in debugger
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 09:35 UTC by martijn_
Modified: 2011-01-28 20:12 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martijn_ 2008-06-10 09:35:09 UTC
hi

the debugger doesn't show quotation signs that are wrapped around text, reproduce;

str = "sometext"  #=> in debugger: sometext
str = "\"sometext"  #=> in debugger: "sometext
str = "some\"text\""  #=> in debugger: some\"text
str = "some\"t\"ext\""  #=> in debugger: some\"t\"ext
str = "\"sometext\""  #=> in debugger: sometext       => WRONG

using netbeans dev 200806040005

tnx for fixing :)
Comment 1 martijn_ 2008-06-10 09:36:48 UTC
sorry, escape signs are not shown of course:

str = "sometext"  #=> in debugger: sometext
str = "\"sometext"  #=> in debugger: "sometext
str = "some\"text\""  #=> in debugger: some"text
str = "some\"t\"ext\""  #=> in debugger: some"t"ext
str = "\"sometext\""  #=> in debugger: sometext 
Comment 2 Martin Krauskopf 2008-06-16 13:53:28 UTC
For me, only this one is wrong:

  str = "\"sometext\""  #=> in debugger: sometext

with the latest build. Will investigate. Thanks for the catch.
Comment 3 Erno Mononen 2009-05-19 15:10:39 UTC
Still valid.
Comment 4 Erno Mononen 2010-04-27 14:02:02 UTC
This is a bug in ruby-debug-ide, in xml_printer.rb there is 

if value_str =~ /^\"(.*)"$/
  value_str = $1
 end

I don't dare to change that w/o a deeper investigation as I don't know what was the reason for doing that in the first place (svn history doesn't help, it's there from the beginning). So needs to be fixed in ruby-debug-ide; I filed http://rubyforge.org/tracker/index.php?func=detail&aid=28145&group_id=3085&atid=11903 - changing this to a task to track this.