Bug 388680 - [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.8.2   Edit
Assignee: Simon Bernard CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on: 379980
Blocks:
  Show dependency tree
 
Reported: 2012-09-03 09:10 EDT by Simon Bernard CLA
Modified: 2012-09-03 13:04 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Bernard CLA 2012-09-03 09:10:04 EDT
+++ This bug was initially created as a clone of Bug #379980 +++

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-09-03 13:04:14 EDT
fixed in R_0_8_maintenance : a7dc7c5f1b1f33606a417621e73162e93b34b862