[wasm][debugger] Cancel Existing Single Step Request When Creating New (#2309)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 30 Jan 2020 14:24:33 +0000 (09:24 -0500)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2020 14:24:33 +0000 (09:24 -0500)
commita85d9022ba196fb52653485e2610a4dd23a831bc
tree6f764887e2ab6634092206cceceb4a93af5d0d86
parentf6efab80a764fd01199088ddae0ea98315cb00e4
[wasm][debugger] Cancel Existing Single Step Request When Creating New (#2309)

When stepping out of a c# breakpoint into the runtime (or JS... Not sure if that's accurate),
multiple single step requests can be created when the breakpoint is hit again.  In order to handle this scenario for wasm, we just cancel the existing one.
src/mono/mono/mini/debugger-agent.c
src/mono/mono/mini/debugger-engine.c
src/mono/mono/mini/debugger-engine.h
src/mono/mono/mini/mini-wasm-debugger.c