mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 05:48:40 +00:00
store successful queries keyed by target section as well, to avoid different table evals having different success states - fixes autocomplete flicker
This commit is contained in:
@@ -1653,11 +1653,12 @@ E_TYPE_EXPAND_INFO_FUNCTION_DEF(debug_info_table)
|
|||||||
B32 stale = 0;
|
B32 stale = 0;
|
||||||
accel->section = section;
|
accel->section = section;
|
||||||
accel->items = di_search_item_array_from_target_query(rd_state->frame_access, section, filter, endt_us, &stale);
|
accel->items = di_search_item_array_from_target_query(rd_state->frame_access, section, filter, endt_us, &stale);
|
||||||
RD_Cfg *last_successful_query_cfg = rd_immediate_cfg_from_keyf("last_successful_query_%I64x", rd_regs()->view);
|
RD_Cfg *last_successful_query_cfg = rd_immediate_cfg_from_keyf("last_successful_query_%I64x_%I64u", rd_regs()->view, (U64)section);
|
||||||
if(stale)
|
if(stale)
|
||||||
{
|
{
|
||||||
String8 last_query = last_successful_query_cfg->first->string;
|
String8 last_query = last_successful_query_cfg->first->string;
|
||||||
accel->items = di_search_item_array_from_target_query(rd_state->frame_access, section, last_query, endt_us, 0);
|
accel->items = di_search_item_array_from_target_query(rd_state->frame_access, section, last_query, endt_us, 0);
|
||||||
|
rd_request_frame();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user