Skip to content

Commit

Permalink
Debugger: Fixed source view not updating correctly in some scenarios …
Browse files Browse the repository at this point in the history
…when debugger hits a breakpoint

Specifically, this happened if the breakpoint was already visible on screen and was associated to an address that wasn't mapped when the source view was last updated
  • Loading branch information
SourMesen committed Nov 7, 2024
1 parent 3873078 commit 25825df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Debugger/ViewModels/DebuggerWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public void UpdateDisassembly(bool scrollToActiveAddress)
{
UpdateActiveAddress(scrollToActiveAddress);
Disassembly.Refresh();
SourceView?.InvalidateVisual();
SourceView?.Refresh();
}

public void ProcessResumeEvent(Window wnd)
Expand Down

0 comments on commit 25825df

Please sign in to comment.