microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.27k stars 28.57k forks source link

"Copy Call Stack" in Debug uses the wrong path separator when debugging cross platform #224685

Open r3m0t opened 1 month ago

r3m0t commented 1 month ago

Does this issue occur when all extensions are disabled?: Yes/No N/a

Steps to Reproduce:

  1. Connect with Remote - SSH to Linux and create a .py

    import time
    breakpoint()
    if __name__ == '__main__':
    x = 1
    while True:
        x += 1
        print(x)
        time.sleep(1)
  2. Use the command "Python Debugger: Debug Python File"

  3. Right click the Call Stack and choose Copy Call Stack

  4. Actual output to clipboard: <module> (\home\vmware\foo.py:3)

I am opening a PR for this image

r3m0t commented 1 month ago

224686