Skip to content

Commit e4e80ca

Browse files
committed
fix check
1 parent 35089f1 commit e4e80ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/SourceBreakpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ llvm::Error SourceBreakpoint::SetBreakpoint(const protocol::Source &source) {
4646
return llvm::createStringError(llvm::inconvertibleErrorCode(),
4747
"Invalid line number.");
4848

49-
if (IsAssemblySource(source)) {
49+
if (source.sourceReference) {
5050
// Breakpoint set by assembly source.
5151
if (source.adapterData && source.adapterData->persistence_data) {
5252
// Prefer use the adapter persitence data, because this could be a

0 commit comments

Comments
 (0)