1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed breakpoint error with multiple breakpoint locations in a file

This commit is contained in:
Brian Fiete 2019-09-12 09:46:12 -07:00
parent 4a83bedd13
commit 59b807fa15

View file

@ -3040,6 +3040,12 @@ void WinDebugger::CheckBreakpoint(WdBreakpoint* wdBreakpoint, DbgSrcFile* srcFil
foundInSequence = true;
}
}
else
{
//TODO: We didn't have this here, but if we don't have this then there are some cases where the method-closing brace generates code in
// multiple places so we need to ensure this will break on them all
foundInSequence = false;
}
if ((lineOffset >= 0) && (lineOffset <= maxLineDist) && (lineOffset <= bestLineOffset))
{