@@ -210,6 +210,11 @@ def check_equivalence(self, source_bps, do_write=True):
210210 "Source and dest breakpoints are not identical: \n source: %s\n dest: %s"
211211 % (source_text , copy_text ),
212212 )
213+ self .assertEqual (
214+ source_bp .GetNumLocations (),
215+ copy_bp .GetNumLocations (),
216+ "Source and dest num locations are not the same" ,
217+ )
213218
214219 def do_check_resolvers (self ):
215220 """Use Python APIs to check serialization of breakpoint resolvers"""
@@ -386,15 +391,15 @@ def do_check_appending(self):
386391 source_bps .Clear ()
387392
388393 bkpt = self .orig_target .BreakpointCreateByName (
389- "blubby " , lldb .eFunctionNameTypeAuto , empty_module_list , empty_cu_list
394+ "main " , lldb .eFunctionNameTypeAuto , empty_module_list , empty_cu_list
390395 )
391396 bkpt .SetIgnoreCount (10 )
392397 bkpt .SetThreadName ("grubby" )
393398 source_bps .Append (bkpt )
394399 all_bps .Append (bkpt )
395400
396401 bkpt = self .orig_target .BreakpointCreateByName (
397- "blubby " , lldb .eFunctionNameTypeFull , empty_module_list , empty_cu_list
402+ "main " , lldb .eFunctionNameTypeFull , empty_module_list , empty_cu_list
398403 )
399404 bkpt .SetCondition ("something != something_else" )
400405 bkpt .SetQueueName ("grubby" )
0 commit comments