sketch out new markup API for programmatic address/data breakpoints

This commit is contained in:
Ryan Fleury
2025-04-12 15:21:48 -07:00
parent 6a5fa58d8a
commit 7ba027e841
10 changed files with 184 additions and 70 deletions
+20 -1
View File
@@ -1941,7 +1941,24 @@ fancy_viz_eval_tests(void)
}
////////////////////////////////
// NOTE(allen): Function Overload Resolution
//~ rjf: Markup Tests
static void
markup_tests(void)
{
int x = 0;
raddbg_add_breakpoint(&x, sizeof(x), 0, 1, 0);
for(int i = 0; i < 10000; i += 1)
{
if(i == 5000)
{
x += 1;
}
}
}
////////////////////////////////
//~ NOTE(allen): Function Overload Resolution
static int
overloaded_function(float y){
@@ -2747,6 +2764,8 @@ mule_main(int argc, char** argv)
fancy_viz_eval_tests();
markup_tests();
// NOTE(allen): Stepping Tests
control_flow_stepping_tests();