[wasm] [debugger] Cache debugger information on Proxy side to avoid going to debugger...
authorThays Grazia <thaystg@gmail.com>
Tue, 17 Aug 2021 15:22:09 +0000 (12:22 -0300)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 15:22:09 +0000 (12:22 -0300)
commitd6b35bb52564d9c434732cba1803bc7e34bddf79
tree51d7daac43b6e587c463702e8d4686dc55ba5918
parentf7633f498a8be34bee739b240a0aa9ae6a660cd9
[wasm] [debugger] Cache debugger information on Proxy side to avoid going to debugger-agent everytime. (#57404)

* Caching some debugger information to avoid going to debugger-agent everytime.

* Apply suggestions from code review

Co-authored-by: Ankit Jain <radical@gmail.com>
* Addressing @radical comments.

* Adding cache for generic type.

* Fix merge.

* Fixing test behavior.

* Fixing debuggerproxy.

* Fixing merge
Fixing tests.

Co-authored-by: Ankit Jain <radical@gmail.com>
src/mono/wasm/debugger/BrowserDebugProxy/DebugStore.cs
src/mono/wasm/debugger/BrowserDebugProxy/DevToolsHelper.cs
src/mono/wasm/debugger/BrowserDebugProxy/EvaluateExpression.cs
src/mono/wasm/debugger/BrowserDebugProxy/MemberReferenceResolver.cs
src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs
src/mono/wasm/debugger/DebuggerTestSuite/Tests.cs