Skip to content

Commit 19a083c

Browse files
author
David Karlaš
authored
Merge pull request #87 from JetBrains/fixBreakpointResolveOldMono
Fixed breakpoint resolve on old Mono runtime
2 parents 755bed4 + 7336dcb commit 19a083c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Mono.Debugging.Soft/SoftDebuggerSession.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,6 +2796,10 @@ bool CheckBetterMatch (TypeMirror type, string file, int line, int column, Locat
27962796
return true;
27972797
if (entry.Row == line && column >= entry.Column && entry.Column > found.ColumnNumber)
27982798
return true;
2799+
if (vm.Version.AtLeast (2, 19)) { //if version is less then 2.19, found Location will not contain info about columns
2800+
if (entry.Row == line && column >= entry.Column && entry.Column > found.ColumnNumber)
2801+
return true;
2802+
}
27992803
}
28002804
}
28012805

0 commit comments

Comments
 (0)