Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The VS crashed after choose the progress when remote debug. #7725

Open
linette-zyy opened this issue Sep 19, 2023 · 0 comments
Open

The VS crashed after choose the progress when remote debug. #7725

linette-zyy opened this issue Sep 19, 2023 · 0 comments
Labels
needs investigation Could be an issue - needs investigation

Comments

@linette-zyy
Copy link

linette-zyy commented Sep 19, 2023

Environment
image

Steps to Reproduce

  1. Create a python file and input below codes
input('>') 
from math import cos, radians
	
# Create a string with spaces proportional to a cosine of x in degrees
def make_dot_string(x):
    rad = radians(x)                             # cos works with radians
    numspaces = int(20 * cos(radians(x)) + 20)   # scale to 0-40 spaces
    st = ' ' * numspaces + 'o'                   # place 'o' after the spaces
    return st

def main():
    for i in range(0, 1800, 12):
        s = make_dot_string(i)
        print(s)

main()
  1. In command prompt (right-click the python environment and select "Open Command Prompt Here…"), execute:
    python -m debugpy --listen 127.0.0.1:4022 C:\Users\vyizh12\source\repos\PythonApplication1\PythonApplication1\PythonApplication1.py
  2. Launch VS and Debug > Attach to Process, in dialog:
    a. Select connection type with Python remote(debugpy)
    b. Input 127.0.0.1:4022 in Connection target and click "Enter"
    Then to click Refresh

Additional context and screenshots
The VS crashed.
Scrashed

Events log
Events log.zip

@judej judej added needs investigation Could be an issue - needs investigation and removed needs triage labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Could be an issue - needs investigation
Projects
None yet
Development

No branches or pull requests

3 participants