Bug 379980 - [debugger] Double backslashes escaping when editing strings in inspector view
Summary: [debugger] Double backslashes escaping when editing strings in inspector view
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: 0.8   Edit
Hardware: All All
: P3 minor
Target Milestone: 0.9 M1   Edit
Assignee: Simon Bernard CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks: 388680
  Show dependency tree
 
Reported: 2012-05-18 09:58 EDT by Julien Desgats CLA
Modified: 2012-09-03 09:10 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Desgats CLA 2012-05-18 09:58:59 EDT
Build Identifier: 

When you edit strings with debugger, any backslash inside it is escaped twice. It means that string "a\\b" will be displayed as "a\\b" (one escape) but will be converted to "a\\\\b" when you try to edit it.

Reproducible: Always

Steps to Reproduce:
1. Make a a script with backslashes in a string:
myvar = "foo\\bar"
print(myvar)

2. Start debugging this file
3. Try to edit myvar, you will get "foo\\\\bar"
Comment 1 Simon Bernard CLA 2012-07-13 09:13:54 EDT
fixed in HEAD : 2f64cf339a60c484b4eb6758322b8cb72c443b72
Comment 2 Simon Bernard CLA 2012-07-13 09:38:12 EDT
add fixed to be compliant with eclipse 3.7 in : 9e5e22f5c46c65a70eb6ac47ce4b37a8962c667a