Commit Graph

8 Commits

Author SHA1 Message Date
Walter Erquinigo
e3b1073902 Handle errors from Dynamic Debug Configuration providers (#202622)
* Handle errors from Dynamic Debug Configuration providers

If a Dynamic Configuration provider, via its method `provideDebugConfigurations`, returns `undefined` or throws an Error, the selector in the Debug Tab is left in a borked state instead of going back to the last selected item. 
This was initially reported in https://github.com/microsoft/vscode/issues/198798, whose fix handled some cases, but not all. This commit attempts to handle all the remaining cases.

* Use logservice to report error

* Fix build

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2024-07-29 09:39:36 -07:00
Johannes
9cc71ffe83 change all assert-star-imports 2024-06-03 16:50:42 +02:00
Benjamin Pasero
877caad943 debt - make history suspend more explicit (#205181)
* debt - make history suspend more explicit

* added tests

* 💄

---------

Co-authored-by: andreamah <andrea_mah22@hotmail.com>
2024-02-16 09:33:07 +01:00
Connor Peet
719a6a6cdf debug: adopt external changes (#190602)
For #183449

Also adds the leak detector to debug tests and fixes some usages of it (#190503)
2023-08-16 12:02:40 -07:00
Alex Ross
f0db763ba9 Dispose instances of test instantiation service (#187482)
* Dispose instances of test instantiation service
This will call `sinon.restore()` and prevent a memory leak
Part of #187471

* Fix interfering terminal tests

* Remove `async` from terminal test suite

* Fix `any`
2023-07-11 14:23:55 +02:00
Rob Lourens
d5c63ca5f0 Fix uninitialized launch config compound schema (#184222)
* Fix uninitialized launch config compound schema
Fix #183712

* Fix unit tests
2023-06-05 11:21:30 -07:00
Jeremy Koritzinsky
594ae6e009 Update services surface areas to make sure test passes. 2022-08-01 10:30:14 -07:00
Jeremy Koritzinsky
4135166f89 Try adding some basic tests for the debug.ConfigurationManager 2022-07-29 16:40:07 -07:00