Problems with dict in debugger: Unable to display children:Error resolving variables



Since my last update of PyCharm to version 2018.2.4 (Community Edition) I'm having a problem with the debugger. It concerns variables of type dict. When I try to show the content of the variable in the debugger, instead of the expected list of keys-values I get this error:

Unable to display children:Error resolving variables Traceback (most recent call last):

File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\_pydevd_bundle\", line 1048, in do_it

    xml.write(pydevd_xml.var_to_xml(val, k, evaluate_full_value=evaluate_full_value))

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128)

The dict contains unicode values, both in the keys and the values. Do you know what's happening and how could I check the dict's value as I used to do? 

Thanks a lot!

Please sign in to leave a comment.