Skip to content

Commit 7a69d51

Browse files
committed
Fix race condition in PID picker/atatch tests
Previously we were starting and resetting immediately, but sometimes if this was slow we could end up in the exception breakpoints prompt and stuck until timeout. Supress the prompt.
1 parent a4774a7 commit 7a69d51

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

support/test/cpp/simple_c_program/.vimspector.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,25 @@
100100
"extends": "cpptools (lldb)",
101101
"configuration": {
102102
"request": "attach"
103+
},
104+
"breakpoints": {
105+
"exception": {
106+
"cpp_throw": "",
107+
"cpp_catch": ""
108+
}
103109
}
104110
},
105111
"CodeLLDB-attach": {
106112
"extends": "CodeLLDB",
107113
"configuration": {
108114
"request": "attach",
109115
"pid": "${PickProcess(\"test\")}"
116+
},
117+
"breakpoints": {
118+
"exception": {
119+
"cpp_throw": "",
120+
"cpp_catch": ""
121+
}
110122
}
111123
}
112124
}

0 commit comments

Comments
 (0)