@@ -114,7 +114,7 @@ await this.debugService.SetCommandBreakpointsAsync(
114
114
await executeTask . ConfigureAwait ( false ) ;
115
115
116
116
StackFrameDetails [ ] stackFrames = debugService . GetStackFrames ( ) ;
117
- Assert . Equal ( StackFrameDetails . NoFileScriptPath , stackFrames [ 0 ] . ScriptPath ) ;
117
+ Assert . Equal ( StackFrameDetails . NoFileScriptPath , stackFrames [ 0 ] . ScriptPath ) ;
118
118
119
119
VariableDetailsBase [ ] variables =
120
120
debugService . GetVariables ( stackFrames [ 0 ] . LocalVariables . Id ) ;
@@ -151,7 +151,7 @@ public async Task DebuggerAcceptsScriptArgs(string[] args)
151
151
152
152
await this . debugService . SetLineBreakpointsAsync (
153
153
debugWithParamsFile ,
154
- new [ ] { BreakpointDetails . Create ( debugWithParamsFile . FilePath , 3 ) } ) . ConfigureAwait ( false ) ;
154
+ new [ ] { BreakpointDetails . Create ( debugWithParamsFile . FilePath , 3 ) } ) . ConfigureAwait ( false ) ;
155
155
156
156
string arguments = string . Join ( " " , args ) ;
157
157
@@ -580,8 +580,6 @@ await this.AssertStateChange(
580
580
PowerShellContextState . Ready ,
581
581
PowerShellExecutionResult . Stopped ) . ConfigureAwait ( false ) ;
582
582
583
- // Abort script execution early and wait for completion
584
- this . debugService . Abort ( ) ;
585
583
await executeTask . ConfigureAwait ( false ) ;
586
584
}
587
585
@@ -872,7 +870,7 @@ await this.debugService.SetLineBreakpointsAsync(
872
870
Assert . Equal ( "[1]" , childVars [ 1 ] . Name ) ;
873
871
874
872
var childVarStrs = new HashSet < string > ( childVars . Select ( v => v . ValueString ) ) ;
875
- var expectedVars = new [ ] {
873
+ var expectedVars = new [ ] {
876
874
"[firstChild, \" Child\" ]" ,
877
875
"[secondChild, 42]"
878
876
} ;
@@ -1026,15 +1024,15 @@ await this.debugService.SetLineBreakpointsAsync(
1026
1024
await executeTask . ConfigureAwait ( false ) ;
1027
1025
}
1028
1026
1029
- public async Task AssertDebuggerPaused ( )
1027
+ private async Task AssertDebuggerPaused ( )
1030
1028
{
1031
1029
DebuggerStoppedEventArgs eventArgs =
1032
1030
await this . debuggerStoppedQueue . DequeueAsync ( new CancellationTokenSource ( 10000 ) . Token ) . ConfigureAwait ( false ) ;
1033
1031
1034
1032
Assert . Empty ( eventArgs . OriginalEvent . Breakpoints ) ;
1035
1033
}
1036
1034
1037
- public async Task AssertDebuggerStopped (
1035
+ private async Task AssertDebuggerStopped (
1038
1036
string scriptPath ,
1039
1037
int lineNumber = - 1 )
1040
1038
{
0 commit comments