[release/6.0-rc1] [mono][debugger] Fix watch of local variable values (#57787)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 20 Aug 2021 20:22:03 +0000 (13:22 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Aug 2021 20:22:03 +0000 (13:22 -0700)
commitf288bb20393690ddea3044b4d26054a269f6d418
tree343dfb3741d175544cafe69b394714f30c934a59
parent13b1111adda0ee7260e2736e3311a3bcbb278401
[release/6.0-rc1] [mono][debugger] Fix watch of local variable values (#57787)

* Fix xamarin-android 6161

* Fixing leak.

* Adding wasm debugger test. Fixing using protocol version.

* only get locals in older protocol versions.

Co-authored-by: Thays <thaystg@gmail.com>
src/mono/mono/component/debugger-agent.c
src/mono/mono/metadata/mono-debug.c
src/mono/mono/metadata/mono-debug.h
src/mono/mono/mini/dwarfwriter.c
src/mono/wasm/debugger/DebuggerTestSuite/Tests.cs
src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs