Trace small named C functions as one ordered replay panel.

Callback Step Panel

callback_step_panel.c
#include <stdio.h>

static int add_step(int value) {
    return value + 4;
}

static int double_step(int value) {
    return value * 2;
}

int main(void) {
    int base = ;
    int first = add_step(base);
    int second = double_step(first);

    printf("base=%d\n", base);
    printf("first=%d\n", first);
    printf("second=%d\n", second);
    return 0;
}
#include <stdio.h>

static int add_step(int value) {
    return value + 4;
}

static int double_step(int value) {
    return value * 2;
}

int main(void) {
    int base = ;
    int first = add_step(base);
    int second = double_step(first);

    printf("base=%d\n", base);
    printf("first=%d\n", first);
    printf("second=%d\n", second);
    return 0;
}
#include <stdio.h>

static int add_step(int value) {
    return value + 4;
}

static int double_step(int value) {
    return value * 2;
}

int main(void) {
    int base = ;
    int first = add_step(base);
    int second = double_step(first);

    printf("base=%d\n", base);
    printf("first=%d\n", first);
    printf("second=%d\n", second);
    return 0;
}
callback step Small helper functions keep each transformation visible in replay while the program stays in one source panel.