File tree 2 files changed +6
-6
lines changed
PowerShellEditorServices.Test/Debugging
PowerShellEditorServices.Test.Shared/Debugging
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ function Test-Variables {
10
10
$assocArrVar = @ { firstChild = " Child" ; secondChild = 42 }
11
11
$classVar = [MyClass ]::new();
12
12
$classVar.Name = " Test"
13
- $classVar.Number = 42 ;
14
- $trueVar = $true
15
- $falseVar = $false
13
+ $classVar.Number = 42 ;
16
14
$enumVar = $ErrorActionPreference
17
15
$nullString = [NullString ]::Value
18
- $psObjVar = New-Object - TypeName PSObject - Property @ {Name = ' John' ; Age = 75 }
19
- $psCustomObjVar = [PSCustomObject ] @ {Name = ' Paul' ; Age = 73 }
16
+ $psObjVar = New-Object - TypeName PSObject - Property @ {Name = ' John' ; Age = 75 }
17
+ $psCustomObjVar = [PSCustomObject ] @ {Name = ' Paul' ; Age = 73 }
20
18
$procVar = Get-Process - PID $PID
19
+ $trueVar = $true
20
+ $falseVar = $false
21
21
Write-Output " Done"
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ public async Task DebuggerGetsVariables()
534
534
{
535
535
await debugService . SetLineBreakpointsAsync (
536
536
variableScriptFile ,
537
- new [ ] { BreakpointDetails . Create ( variableScriptFile . FilePath , 16 ) } ) . ConfigureAwait ( true ) ;
537
+ new [ ] { BreakpointDetails . Create ( variableScriptFile . FilePath , 21 ) } ) . ConfigureAwait ( true ) ;
538
538
539
539
Task _ = ExecuteVariableScriptFile ( ) ;
540
540
AssertDebuggerStopped ( variableScriptFile . FilePath ) ;
You can’t perform that action at this time.
0 commit comments