File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
packages/debugger/src/robotcode/debugger/launcher Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ async def _launch(
317
317
else :
318
318
sys .exit (255 )
319
319
320
- raise asyncio .TimeoutError ("Can't connect to debugger." ) from e
320
+ raise asyncio .TimeoutError ("Unable to connect to RobotCode debugger." ) from e
321
321
322
322
if self ._initialize_arguments is not None :
323
323
await self .client .protocol .send_request_async (InitializeRequest (arguments = self ._initialize_arguments ))
Original file line number Diff line number Diff line change @@ -1213,7 +1213,7 @@ export class TestControllerManager {
1213
1213
1214
1214
if ( included . size === 0 ) return ;
1215
1215
1216
- const run = this . testController . createTestRun ( request , undefined ) ;
1216
+ const testRun = this . testController . createTestRun ( request , undefined ) ;
1217
1217
let run_started = false ;
1218
1218
1219
1219
token . onCancellationRequested ( async ( _ ) => {
@@ -1235,13 +1235,13 @@ export class TestControllerManager {
1235
1235
continue ;
1236
1236
1237
1237
const runId = TestControllerManager . runId . next ( ) . value ;
1238
- this . testRuns . set ( runId , run ) ;
1238
+ this . testRuns . set ( runId , testRun ) ;
1239
1239
1240
- let options = { } ;
1240
+ const options : vscode . DebugSessionOptions = {
1241
+ testRun : testRun ,
1242
+ } ;
1241
1243
if ( request . profile !== undefined && request . profile . kind !== vscode . TestRunProfileKind . Debug ) {
1242
- options = {
1243
- noDebug : true ,
1244
- } ;
1244
+ options . noDebug = true ;
1245
1245
}
1246
1246
1247
1247
let workspaceItem = this . findTestItemByUri ( folder . uri . toString ( ) ) ;
@@ -1340,7 +1340,7 @@ export class TestControllerManager {
1340
1340
}
1341
1341
1342
1342
if ( ! run_started ) {
1343
- run . end ( ) ;
1343
+ testRun . end ( ) ;
1344
1344
}
1345
1345
}
1346
1346
You can’t perform that action at this time.
0 commit comments