Stream &output_stream = result.GetOutputStream();
const bool show_locations = false;
bp->GetDescription(&output_stream, lldb::eDescriptionLevelInitial, show_locations);
- // Don't print out this warning for exception breakpoints. They can get set before the target
- // is set, but we won't know how to actually set the breakpoint till we run.
- if (bp->GetNumLocations() == 0 && break_type != eSetTypeException)
- output_stream.Printf ("WARNING: Unable to resolve breakpoint to any actual locations.\n");
+ if (target == m_interpreter.GetDebugger().GetDummyTarget())
+ output_stream.Printf ("Breakpoint set in dummy target, will get copied into future targets.\n");
+ else
+ {
+ // Don't print out this warning for exception breakpoints. They can get set before the target
+ // is set, but we won't know how to actually set the breakpoint till we run.
+ if (bp->GetNumLocations() == 0 && break_type != eSetTypeException)
+ {
+ output_stream.Printf ("WARNING: Unable to resolve breakpoint to any actual locations.\n");
+ }
+ }
result.SetStatus (eReturnStatusSuccessFinishResult);
}
else if (!bp)