Menu

#1530 In "Variables" view some dicts not displayed correctly

open
debugger (210)
5
2012-09-18
2012-09-18
No

Eclipse 3.7.2
PyDev 2.6.0
Windows 7 32-bit Corporate Russian

When there is a non-english string keys in dictionaries, they can't correctly resolved in "Variables" view in debug perspective. "Could not resolve variable" error displayed instead of dictionary structure. The reason of problem is that keys in dictionaries not escaped when they passed in xml to the view, so the xerces could not resolve such symbols when parsing such xml:

"Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence."

Such string is logged in .metadata\.log

Discussion