File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
lldb/test/API/tools/lldb-dap/step Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -84,19 +84,20 @@ def test_step(self):
8484 # only step one thread that is at the breakpoint and stop
8585 break
8686
87- def test_step_over (self ):
87+ def test_step_over_inlined_function (self ):
8888 """
8989 Test stepping over when the program counter is in another file.
9090 """
9191 program = self .getBuildArtifact ("a.out" )
9292 self .build_and_launch (program )
9393 source = "main.cpp"
94- breakpoint1_line = line_number (source , "// breakpoint 2" )
94+ breakpoint_lines = [ line_number (source , "// breakpoint 2" )]
9595 step_over_pos = line_number (source , "// position_after_step_over" )
96- lines = [breakpoint1_line ]
97- breakpoint_ids = self .set_source_breakpoints (source , lines )
96+ breakpoint_ids = self .set_source_breakpoints (source , breakpoint_lines )
9897 self .assertEqual (
99- len (breakpoint_ids ), len (lines ), "expect correct number of breakpoints."
98+ len (breakpoint_ids ),
99+ len (breakpoint_lines ),
100+ "expect correct number of breakpoints." ,
100101 )
101102 self .continue_to_breakpoints (breakpoint_ids )
102103
You can’t perform that action at this time.
0 commit comments