Update debug proxy to match 5973519784 (#19618)

This commit is contained in:
Pranav K 2020-03-05 15:26:32 -08:00 committed by GitHub
parent b02978e0d8
commit e40fc36783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -282,10 +282,12 @@ namespace WebAssembly.Net.Debugging {
var bpid = resp.Value["breakpointId"]?.ToString ();
var request = BreakpointRequest.Parse (bpid, args);
context.BreakpointRequests[bpid] = request;
var store = await RuntimeReady (id, token);
if (await IsRuntimeAlreadyReadyAlready (id, token)) {
var store = await RuntimeReady (id, token);
Log ("verbose", $"BP req {args}");
await SetBreakpoint (id, store, request, token);
Log ("verbose", $"BP req {args}");
await SetBreakpoint (id, store, request, token);
}
SendResponse (id, Result.OkFromObject (request.AsSetBreakpointByUrlResponse()), token);
return true;