diff options
author | Larry Ewing <lewing@microsoft.com> | 2020-02-24 23:55:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 23:55:48 +0300 |
commit | fafa41f448354ab15c217781ef7b0ed49568fe0f (patch) | |
tree | 274cba50ba34f2d4bfb671371ff5850c90d17f59 /sdks | |
parent | 655dd296bfbdbb61cf9a51b6476b0082fe7c332b (diff) |
Use AsLocation when creating location (#19016)
Diffstat (limited to 'sdks')
-rw-r--r-- | sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs index ca1b37325ca..f36680bb2a5 100644 --- a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs +++ b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs @@ -724,11 +724,7 @@ namespace WebAssembly.Net.Debugging { var ok = new { breakpointId = bp.StackId, locations = new [] { - new { - scriptId = bp_loc.Id.ToString (), - lineNumber = bp_loc.Line, - columnNumber = bp_loc.Column - } + bp_loc.AsLocation () }, }; |