[Lldb-commits] [lldb] [lldb] Extend frame recognizers to hide frames from backtraces (PR #104523)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 20 11:07:28 PDT 2024
================
@@ -278,6 +278,29 @@ class CommandObjectFrameSelect : public CommandObjectParsed {
if (frame_idx == UINT32_MAX)
frame_idx = 0;
+ // If moving up/down by one, skip over hidden frames.
+ if (*m_options.relative_frame_offset == 1 ||
+ *m_options.relative_frame_offset == -1) {
+ uint32_t candidate_idx = frame_idx;
+ for (unsigned num_try = 0; num_try < 12; ++num_try) {
----------------
bulbazord wrote:
What does `12` mean here?
https://github.com/llvm/llvm-project/pull/104523
More information about the lldb-commits
mailing list