Skip to content

XCTest debug session starts after stopping swift-testing session #1002

Open
@award999

Description

@award999

Describe the bug
When I stop a swift-testing debug session, the XCTest one still proceeds

To Reproduce
Steps to reproduce the behavior:

  1. Have a mix of swift-testing and XCTests
  2. Debug all your tests in the test explorer
  3. Hit a bp when running swift-testing
  4. Press the stop button
  5. Notice swift-testing stops, but XCTest session still proceeds

Expected behavior
Maybe through the vscode.debug or debug adapter tracker APIs we can check if it was stopped. Also is notion of parent debug sessions.

Environment

  • OS: macOS
  • Swift version (output of swift --version): 6.0
  • Visual Studio Code version: 1.92
  • vscode-swift version: 1.10.7

Additional context
Minor annoyance, feel free to just close if implementation is messy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions