mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
zero match store dbgi/idx selection info if params hash has changed; we can still return the section kind (e.g. for syntax highlighting), but we no longer want to try to refer to any specific debug info slot, since it may have been evicted.
This commit is contained in:
@@ -1757,6 +1757,11 @@ di_match_from_name(DI_MatchStore *store, String8 name, U64 endt_us)
|
||||
|
||||
// rjf: return node present info
|
||||
result = node->primary_match;
|
||||
if(node->cmp_params_hash != store->params_hash)
|
||||
{
|
||||
result.dbgi_idx = 0;
|
||||
result.idx = 0;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user