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:
parent
a4f23429aa
commit
f958c693ee
3 changed files with 41 additions and 10 deletions
|
@ -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**)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue