mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed breakpoint error with multiple breakpoint locations in a file
This commit is contained in:
parent
4a83bedd13
commit
59b807fa15
1 changed files with 6 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue