Skip to content

Commit 7336dcb

Browse files
committed
Fixed breakpoint resolve on old Mono runtime if bp has non zero column (< 2.19) (e.g. Unity 5.5)
1 parent ccadee5 commit 7336dcb

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)