prefer usage of pdbs in dbgi layer, if rdi path is not baked in, but pdb path *is* - otherwise the dbgi layer can simply choose a stale rdi file with no way to generate a new one.

This commit is contained in:
Ryan Fleury
2024-10-23 11:49:47 -07:00
parent 45f5a2d18f
commit 1ecabff7b6
6 changed files with 30 additions and 38 deletions
+11 -1
View File
@@ -3962,6 +3962,16 @@ rd_window_frame(RD_Window *ws)
ui_set_next_flags(UI_BoxFlag_ViewScrollY|UI_BoxFlag_AllowOverflowY|UI_BoxFlag_ViewClamp);
UI_PaneF(r2f32p(30, 30, 30+ui_top_font_size()*100, ui_top_font_size()*150), "###dev_ctx_menu")
{
//- rjf: capture
if(!ProfIsCapturing() && ui_clicked(ui_buttonf("Begin Profiler Capture###prof_cap")))
{
ProfBeginCapture("raddbg");
}
else if(ProfIsCapturing() && ui_clicked(ui_buttonf("End Profiler Capture###prof_cap")))
{
ProfEndCapture();
}
//- rjf: toggles
for(U64 idx = 0; idx < ArrayCount(DEV_toggle_table); idx += 1)
{
@@ -16566,7 +16576,7 @@ rd_frame(void)
//////////////////////////////
//- rjf: capture is active? -> keep rendering
//
if(ProfIsCapturing() || DEV_telemetry_capture)
if(ProfIsCapturing())
{
rd_request_frame();
}
+1 -1
View File
@@ -5874,7 +5874,7 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(text)
//////////////////////////////
//- rjf: build missing file interface
//
if(file_is_missing && !key_has_data)
if(file_is_missing && !u128_match(hash, u128_zero()))
{
UI_WidthFill UI_HeightFill UI_Column UI_Padding(ui_pct(1, 0))
{