Skip to content

Commit 5bf9e6a

Browse files
committed
fix
1 parent e3934cb commit 5bf9e6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/tools/lldb-dap/Breakpoint.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ protocol::Breakpoint Breakpoint::ToProtocolBreakpoint() {
106106
// in future sessions.
107107
std::optional<protocol::PersistenceData> persistence_data =
108108
GetPersistenceDataForAddress(start_address);
109-
if (persistence_data)
110-
source->adapterData->persistence_data = std::move(persistence_data);
109+
if (persistence_data) {
110+
source->adapterData =
111+
protocol::SourceLLDBData{std::move(persistence_data)};
112+
}
111113
}
112114
}
113115

0 commit comments

Comments
 (0)