Skip to content

Commit

Permalink
Addressing PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
thaystg committed Aug 3, 2021
1 parent d2e727e commit 3de9286
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/mono/wasm/debugger/DebuggerTestSuite/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -837,11 +837,12 @@ public async Task InspectTaskAtLocals() => await CheckInspectLocalsAtBreakpointS
{
var locals = await GetProperties(pause_location["callFrames"][0]["callFrameId"].Value<string>());
var t_arr = await GetObjectOnLocals(locals, "t");
await CheckProps(t_arr, new
var t_props = await GetObjectOnLocals(locals, "t");
await CheckProps(t_props, new
{
s_taskIdCounter = TNumber(0)
}, "t_arr", num_fields: 53);
s_taskIdCounter = TNumber(0),
Status = TGetter("Status")
}, "t_props", num_fields: 53);
});

//TODO add tests covering basic stepping behavior as step in/out/over
Expand Down
32 changes: 32 additions & 0 deletions src/mono/wasm/debugger/tests/debugger-test/weather.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"dateFormatted": "06/05/2018",
"temperatureC": 1,
"summary": "Freezing",
"temperatureF": 33
},
{
"dateFormatted": "07/05/2018",
"temperatureC": 14,
"summary": "Bracing",
"temperatureF": 57
},
{
"dateFormatted": "08/05/2018",
"temperatureC": -13,
"summary": "Freezing",
"temperatureF": 9
},
{
"dateFormatted": "09/05/2018",
"temperatureC": -16,
"summary": "Balmy",
"temperatureF": 4
},
{
"dateFormatted": "10/05/2018",
"temperatureC": -2,
"summary": "Chilly",
"temperatureF": 29
}
]

0 comments on commit 3de9286

Please sign in to comment.