change-return-value-expected.txt 650 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Checks that we can update return value on pause

Running test: testError
Set return value not at return position
{
    error : {
        code : -32000
        message : Could not update return value at non-return position
    }
    id : <messageId>
}

Running test: testUndefined
Break at return position..
Update return value to 42..
Dump actual return value
{
    result : {
19
        description : 42
20 21 22 23 24 25 26 27 28 29 30
        type : number
        value : 42
    }
}

Running test: testArrow
Break at return position..
Update return value to 239..
Dump actual return value
{
    result : {
31
        description : 239
32 33 34 35
        type : number
        value : 239
    }
}