[wasm][debugger] Implement support to Set Next Instruction Pointer. (#64114)
* Implement Set Next Instruction Pointer.
* Addressing @radical comments.
* Checking if the line number is inside the same function.
Adding test for it.
Adding test for moving the IP to a line that has already a breakpoint.
* Creating tests in async function and lambda as suggested by @radical
* Addressing @radical comments.
* Addressing @radical comments offline
* Adding comment to explain dual invocations.
* Removing unnecessary code.
* Addressing @radical comments.
* Update src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs
Co-authored-by: Ankit Jain <radical@gmail.com>
* Addressing @radical comments.
* Apply suggestions from code review
Co-authored-by: Ankit Jain <radical@gmail.com>
* Removing unnecessary code.Addressing @radical comments.
* Addressing @radical comments.
* Added test as suggested offline by @radical
* Creating tests as suggested by @radical.
* Adding test as suggested by @radical.
Fixing behavior of this new test: moving IP to a nested function.
* Changing order in test.
* Creating new test suggested by @radical.
* Update src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
Co-authored-by: Ankit Jain <radical@gmail.com>
* Addressing @radical comments.
* Addressing @radical comments.
Co-authored-by: Ankit Jain <radical@gmail.com>