Skip to content

Functions without a proper stack/frame pointer result in an invalid visualisation #28

@dotjulia

Description

@dotjulia

Example program:

#include <stdio.h>
#include <stdlib.h>

void swap(int *a, int *b)
{
  int temp = *a;
  *a = *b;
  *b = temp;
}

int main(void)
{
  int x = 10;
  int y = 5;
  swap(&x, &y);
  return 0;
}

Setting a breakpoint in swap breaks the visualisation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions