Trace named Swift function steps as one ordered replay panel.

Callback Step Panel

callback_step_panel.swift
func addStep(_ value: Int) -> Int {
    return value + 4
}

func doubleStep(_ value: Int) -> Int {
    return value * 2
}

let base = 
let first = addStep(base)
let second = doubleStep(first)

print("base=\(base)")
print("first=\(first)")
print("second=\(second)")
func addStep(_ value: Int) -> Int {
    return value + 4
}

func doubleStep(_ value: Int) -> Int {
    return value * 2
}

let base = 
let first = addStep(base)
let second = doubleStep(first)

print("base=\(base)")
print("first=\(first)")
print("second=\(second)")
func addStep(_ value: Int) -> Int {
    return value + 4
}

func doubleStep(_ value: Int) -> Int {
    return value * 2
}

let base = 
let first = addStep(base)
let second = doubleStep(first)

print("base=\(base)")
print("first=\(first)")
print("second=\(second)")
callback step Small named functions keep each transformation visible in replay while this example stays in a single source panel.