forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Environment data
- VS Code version: 1.28.2
- Extension version (available under the Extensions sidebar): 2018.9.2
- OS and version: Win 7
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.0
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: Base
Actual behavior
dict objects display in wrong order in the debug console.
Python 3.7 preserves dictionary order using insertion order, but VSCode seems to pick some other ordering when returning a dict result to the console (perhaps sorted by key?).
Expected behavior
Display elements in debug console in the order in which they are internally stored by Python:
Steps to reproduce:
- Start a debug session
- Create a dictionary with more than one key:value pair
- Return the dictionary to console
Logs
N/A
Metadata
Metadata
Assignees
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug

