@@ -10933,6 +10933,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
10933
10933
if(thread != &ctrl_entity_nil)
10934
10934
{
10935
10935
dr_fancy_string_list_push_new(arena, &fstrs, rd_font_from_slot(RD_FontSlot_Icons), ui_top_font_size(), ui_top_palette()->text, rd_icon_kind_text_table[RD_IconKind_CircleFilled]);
10936
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10936
10937
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10937
10938
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit a breakpoint"));
10938
10939
}
@@ -10948,6 +10949,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
10948
10949
{
10949
10950
default:
10950
10951
{
10952
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10951
10953
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10952
10954
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit an exception - "));
10953
10955
String8 exception_code_string = str8_from_u64(arena, event->exception_code, 16, 0, 0);
@@ -10961,13 +10963,15 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
10961
10963
}break;
10962
10964
case CTRL_ExceptionKind_CppThrow:
10963
10965
{
10966
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10964
10967
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10965
10968
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit a C++ exception - "));
10966
10969
String8 exception_code_string = str8_from_u64(arena, event->exception_code, 16, 0, 0);
10967
10970
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, exception_code_string);
10968
10971
}break;
10969
10972
case CTRL_ExceptionKind_MemoryRead:
10970
10973
{
10974
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10971
10975
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10972
10976
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit an exception - "));
10973
10977
String8 exception_code_string = str8_from_u64(arena, event->exception_code, 16, 0, 0);
@@ -10976,6 +10980,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
10976
10980
}break;
10977
10981
case CTRL_ExceptionKind_MemoryWrite:
10978
10982
{
10983
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10979
10984
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10980
10985
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit an exception - "));
10981
10986
String8 exception_code_string = str8_from_u64(arena, event->exception_code, 16, 0, 0);
@@ -10984,6 +10989,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
10984
10989
}break;
10985
10990
case CTRL_ExceptionKind_MemoryExecute:
10986
10991
{
10992
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
10987
10993
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
10988
10994
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit an exception - "));
10989
10995
String8 exception_code_string = str8_from_u64(arena, event->exception_code, 16, 0, 0);
@@ -11011,6 +11017,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, CTRL_Event *event)
11011
11017
case CTRL_EventCause_InterruptedByTrap:
11012
11018
{
11013
11019
dr_fancy_string_list_push_new(arena, &fstrs, rd_font_from_slot(RD_FontSlot_Icons), ui_top_font_size(), ui_top_palette()->text, rd_icon_kind_text_table[RD_IconKind_WarningBig]);
11020
+ dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" "));
11014
11021
dr_fancy_string_list_concat_in_place(&fstrs, &thread_fstrs);
11015
11022
dr_fancy_string_list_push_new(arena, &fstrs, ui_top_font(), ui_top_font_size(), ui_top_palette()->text, str8_lit(" hit a trap"));
11016
11023
}break;
0 commit comments