1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-23 12:12:10 +00:00

HackStudio: Support debugging variables with Enum types

Variables with enum types can now be both viewed and modified in the
variables view!
This commit is contained in:
FalseHonesty 2020-05-31 22:51:12 -04:00 committed by Andreas Kling
parent a4f23429aa
commit f958c693ee
3 changed files with 41 additions and 10 deletions

View file

@ -1,9 +1,15 @@
#include <stdio.h>
#include <sys/stat.h>
enum TestEnum {
ValueOne,
ValueTwo
};
struct MyStruct {
int x { -1 };
bool status { false };
TestEnum test_value { ValueOne };
};
int main(int, char**)