Skip to content

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

@r3m0t

Description

@r3m0t

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

  • VS Code Version:
  • OS Version: Version: 1.92.0 (user setup)
    Commit: b1c0a14
    Date: 2024-07-31T23:26:45.634Z
    Electron: 30.1.2
    ElectronBuildId: 9870757
    Chromium: 124.0.6367.243
    Node.js: 20.14.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.26100

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)
  1. Use the command "Python Debugger: Debug Python File"
  2. Right click the Call Stack and choose Copy Call Stack
  3. Actual output to clipboard: <module> (\home\vmware\foo.py:3)

I am opening a PR for this
image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions