[Lldb-commits] [PATCH] D33426: Introduce new command: thread backtrace unique

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 30 08:39:56 PDT 2017


clayborg added a comment.

The other option for fixing the problem with showing the wrong variables in the backtraces would be to make up a new frame-format string that is used for uniqued stack frames and use that format when showing uniqued stack frames:

  (lldb) settings show frame-format-unique
  frame-format (format-string) = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name}{${frame.no-debug}${function.pc-offset}}}}{ at ${line.file.basename}:${line.number}}{${function.is-optimized} [opt]}\n"

The only difference in the format string is we use ${function.name} instead of ${function.name-with-args}.


https://reviews.llvm.org/D33426





More information about the lldb-commits mailing list