mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-21 23:12:01 -07:00
sketch out new markup API for programmatic address/data breakpoints
This commit is contained in:
+20
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user