@@ -17,8 +17,8 @@ def test(self):
17
17
src = lldb .SBFileSpec ('main.swift' )
18
18
_ , process , _ , _ = lldbutil .run_to_source_breakpoint (self , 'await' , src )
19
19
20
- # When run with debug info enabled builds, this prevents stepping from
21
- # stopping in Swift Concurrency runtime functions.
20
+ # When run with debug info enabled builds, this prevents stepping from
21
+ # stopping in Swift Concurrency runtime functions.
22
22
self .runCmd ("settings set target.process.thread.step-avoid-libraries libswift_Concurrency.dylib" )
23
23
24
24
# All thread actions are done on the currently selected thread.
@@ -39,18 +39,18 @@ def test(self):
39
39
caller_after = thread ().frames [1 ].function .GetDisplayName ()
40
40
line_after = thread ().frames [0 ].line_entry .line
41
41
42
- # Breakpoints on lines with an `await` may result in more than
43
- # one breakpoint location. Specifically a location before an
44
- # async function is called, and then a location on the resume
45
- # function. In this case, running `step` on these lines will
46
- # move execution forward within the same function, _not_ step
47
- # into a new function.
42
+ # Breakpoints on lines with an `await` may result in more than
43
+ # one breakpoint location. Specifically a location before an
44
+ # async function is called, and then a location on the resume
45
+ # function. In this case, running `step` on these lines will
46
+ # move execution forward within the same function, _not_ step
47
+ # into a new function.
48
48
#
49
- # As this test is for stepping into async functions, when the
50
- # step-in keeps execution on the same or next line -- not a
51
- # different function, then it can be ignored. rdar://76116620
49
+ # As this test is for stepping into async functions, when the
50
+ # step-in keeps execution on the same or next line -- not a
51
+ # different function, then it can be ignored. rdar://76116620
52
52
if line_after in (line_before , line_before + 1 ):
53
- # When stepping stops at breakpoint, don't continue.
53
+ # When stepping stops at breakpoint, don't continue.
54
54
if thread ().stop_reason != lldb .eStopReasonBreakpoint :
55
55
process .Continue ()
56
56
continue
0 commit comments