-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When my test function in XCTest goes into infinite loop, one of the tests hangs, and even clicking "stop" icon doesn't really stop it (I still see it in the activity monitor)
To Reproduce
Steps to reproduce the behavior:
- Create a test suite, write a test function with XCTest
- Add
while true {}
- Run it by clicking
|>
symbol. - See it not stopping (expecte).
- Click the square button. It reports as stopped, but process is still there in the activity monitor
Expected behavior
I assume it should stop the process
Environment
- OS: MacOS 15.3
- Swift version:
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
- Visual Studio Code version: Cursor version 0.45.11, VSCode Version 1.96.2
- vscode-swift version: 2.0.0
Additional context
- test started

- clicking stop

- clicked stop. shows as stopped

- activity monitor shows the process running

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Needs Verification