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 committed 2024-10-23 11:49:47 -07:00
1 parent 45f5a2d18f
commit 1ecabff7b6
6 files changed
+30 -38

No files matched your search

+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();
}