Environment data
VS Code version: 1.19.3
Python Extension version: 0.9.1
Python Version: 2.7.12
OS and version: Ubuntu 16.04.3 x64
Actual behavior
The debugger console gives a weird result when indexing a dict with a key that doesn't exist in the dict. It prints the key... which is confusing and unexpected.
Expected behavior
It prints that the key doesn't exist. (KeyError)
Steps to reproduce:
- Debug a file that has a dict, for example:
- Type in the debugger console:
>>> a['a']
123
>>> a['b']
'b' # ???
GIF

Environment data
VS Code version: 1.19.3
Python Extension version: 0.9.1
Python Version: 2.7.12
OS and version: Ubuntu 16.04.3 x64
Actual behavior
The debugger console gives a weird result when indexing a dict with a key that doesn't exist in the dict. It prints the key... which is confusing and unexpected.
Expected behavior
It prints that the key doesn't exist. (
KeyError)Steps to reproduce:
GIF