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

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

Open
award999 opened this issue Aug 8, 2024 · 1 comment
Open

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

award999 opened this issue Aug 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@award999
Copy link
Contributor

award999 commented Aug 8, 2024

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.

@award999 award999 added the bug Something isn't working label Aug 8, 2024
@award999
Copy link
Contributor Author

award999 commented Aug 8, 2024

@plemarquand this was just a minor annoyance since startup of LLDB can be slow and I find some times it takes a while to respond to a stop or continue press. Not concerned about this if there is no elegant solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant