File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -211,24 +211,28 @@ export class LLDBDebugConfigurationProvider implements vscode.DebugConfiguration
211
211
}
212
212
switch ( userSelection ) {
213
213
case "Global" :
214
- lldbConfig . update ( "library" , libLldbPath , vscode . ConfigurationTarget . Global ) ;
215
- lldbConfig . update (
214
+ await lldbConfig . update ( "library" , libLldbPath , vscode . ConfigurationTarget . Global ) ;
215
+ await lldbConfig . update (
216
216
"launch.expressions" ,
217
217
"native" ,
218
218
vscode . ConfigurationTarget . Global
219
219
) ;
220
220
// clear workspace setting
221
- lldbConfig . update ( "library" , undefined , vscode . ConfigurationTarget . Workspace ) ;
221
+ await lldbConfig . update ( "library" , undefined , vscode . ConfigurationTarget . Workspace ) ;
222
222
// clear workspace setting
223
- lldbConfig . update (
223
+ await lldbConfig . update (
224
224
"launch.expressions" ,
225
225
undefined ,
226
226
vscode . ConfigurationTarget . Workspace
227
227
) ;
228
228
break ;
229
229
case "Workspace" :
230
- lldbConfig . update ( "library" , libLldbPath , vscode . ConfigurationTarget . Workspace ) ;
231
- lldbConfig . update (
230
+ await lldbConfig . update (
231
+ "library" ,
232
+ libLldbPath ,
233
+ vscode . ConfigurationTarget . Workspace
234
+ ) ;
235
+ await lldbConfig . update (
232
236
"launch.expressions" ,
233
237
"native" ,
234
238
vscode . ConfigurationTarget . Workspace
You can’t perform that action at this time.
0 commit comments