[Lldb-commits] [PATCH] D78421: Fix out of sync source code/executable when debugging

Martin Schmidt via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 21 02:07:54 PDT 2020


n1tram1 added a comment.

In D78421#1993030 <https://reviews.llvm.org/D78421#1993030>, @jingham wrote:

> So you check the currently selected frame's module - which is libbar.dylib and find that it was built before FileFromNotBar.c and would show me the old version.
>
> Showing me the latest version of the file is not great, but totally explicable.  Whereas this error, when it happens, would be confusing and hard to understand.


So instead I should try to find which module the source file belongs to and check that module's modification time (instead of getting the currently selected frame) ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78421/new/

https://reviews.llvm.org/D78421





More information about the lldb-commits mailing list