[wasm][debugger] Evaluate methods with short arguments #93057
Labels
arch-wasm
WebAssembly architecture
area-Debugger-mono
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
We do not have a mechanism of detecting if literal is short, so both options from each case:
are falling into the non-short category in
MonoSdbHelper.WriteNumbers
. The simplest fix for it that comes to my mind is a mechanism ofInvokeMethod
retries every time we detect a numeric literal that is of type int/byte/uint. With multiple parameters that classify for retry, the number of retries grows exponentially which is not the best solution.Uncomment
in
EvaluateMethodWithDefaultParam
test. Current behavior:"No implementation of method 'GetDefaultNegativeShortInt' matching 'test.GetDefaultNegativeShortInt(-123)' found in type DebuggerTests.DefaultParamMethods.TestClass.",
Coreclr behavior for the short int tests scenarios:
The text was updated successfully, but these errors were encountered: