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