Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

"?" Is displayed incorrectly in debug console when debug flask. #2090

Closed
linette-zyy opened this issue Feb 14, 2020 · 1 comment
Closed

"?" Is displayed incorrectly in debug console when debug flask. #2090

linette-zyy opened this issue Feb 14, 2020 · 1 comment
Labels

Comments

@linette-zyy
Copy link

Repro steps:

Pre-requesites:
Clone repro and run the setup script:
git clone https://github.com/qubitron/pydemo
cd pydemo
py -3 setup.py

In user settings add:
"python.jediEnabled": false

  1. Open stackoverflow-flask folder
  2. Select "Debug"
  3. Select "Add Configuration…" in "DEBUG" dropdown menu
  4. Customize the path in launch.json:
    image
  5. Set "DEBUG" to "Python:Flask"
    image
    6.Start to debug and observe app starts in terminal, ctrl+click to open the app in the browser
  6. Set breakpoint on line6 of main.py and then start to debug and refresh the browser page
  7. Make sure breakpoint is hit and main.py works
  8. Click "F10/F11/Shift+F11/stop" to verify debug works

Expected behaviour

The debug console display correct without incorrect symbol.

Actual behavior

"?" Is displayed incorrectly in debug console.
image

Test Environment

image

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Feb 18, 2020
@int19h
Copy link
Contributor

int19h commented Feb 20, 2020

This is ptvsd 4 - can you please try the same with ptvsd 5, by following these instructions?

@int19h int19h added the Bug label Feb 20, 2020
@int19h int19h closed this as completed Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants