mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 12:58:41 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user