[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 18 10:56:19 PDT 2024
================
@@ -369,6 +393,13 @@ class BreakpointLocation
lldb::break_id_t m_loc_id; ///< Breakpoint location ID.
StoppointHitCounter m_hit_counter; ///< Number of times this breakpoint
/// location has been hit.
+ std::optional<LineEntry> m_preferred_line_entry; // If this exists, use it to print the stop
----------------
adrian-prantl wrote:
IMO the end-of line comment style only makes sense if the comment fits on one line.
```suggestion
/// If this exists, use it to print the stop description rather than the LineEntry
/// ...
std::optional<LineEntry> m_preferred_line_entry;
```
https://github.com/llvm/llvm-project/pull/112939
More information about the lldb-commits
mailing list