Commit Graph
59 Commits
Author SHA1 Message Date
Ryan Fleury 1577ea5693 fix rdi folder writability test to account for possibly-uncreated directories, so that we don't unnecessarily write into the user-local rdi cache 2026-06-10 08:39:40 -07:00
Ryan Fleury ffb79a67ef be robust to missing symbol server support 2026-06-09 16:07:16 -07:00
Ryan Fleury f57137288b check if rdi path is writable before deciding to convert to it; if it isn't writable, then redirect to a rdi cache directory 2026-06-09 16:02:33 -07:00
Ryan Fleury 5ae286d67e setting for auto-downloading missing debug info (off by default); command for manually loading module debug info as-needed 2026-06-09 14:01:09 -07:00
Ryan Fleury 9955c8c1a7 temporarily turn off symbol server stuff - switch off spoof for step-over 2026-06-09 09:27:23 -07:00
Ryan Fleury 132751777f eliminate unnecessary info in debug engine entity abstraction / demon events; adjust symbol server / debug info loading such that the debug info loader is the one who decides to kick off downloads based on presence in cache path; use cache path as key, unpack info for download requests 2026-06-08 21:06:44 -07:00
Ryan Fleury b22f9f2d8b checkpoint on symbol server 2026-06-08 17:32:07 -07:00
Ryan Fleury 56ee3bbf7b eval: use resolution qualifiers to express disambiguating debug info, or module, or unit, and use in debug info resolution matching path; automatically prefer selected thread voff's unit 2026-06-02 12:10:43 -07:00
Nikita Smith a3bac20a73 rebase fixes
normalize line endings

sort test pointers

rebase fixes

rebase fixes
2026-06-02 12:10:29 -07:00
Nikita Smith 2643d14e06 extend os info struct with binary file path 2026-06-02 12:09:57 -07:00
Nikita Smith a6da558b44 query binary name in converter command line setup 2026-06-02 12:09:54 -07:00
Ryan Fleury 17cdf458d3 on ambiguous debug info matches, inside primary debug info -> try building a fully qualified name from context, and replacing initial debug info match if it hits 2026-05-19 12:08:26 -07:00
Ryan Fleury 3360d97e37 fix eval space creation for nil entities 2026-05-19 11:14:19 -07:00
Ryan Fleury fddf353ea0 minidump format types; open crash dump command, stub out opening path in control thread; expand d_handles to support machine id, entity id, *and* 'controller kind', which can be either a dump file or a demon - this properly separates the true process control abstraction (demon) from opening a regular dump file on any machine, which will let us trivially support any kind of dump file on any platform; also fix bad cfg tree state leak 2026-05-16 18:26:23 -07:00
Ryan Fleury dcc78314ab fix dbg_info loader treatment of nil keys, avoid bad usage of blank '.rdi' files; os_lnx_* -> lnx_* 2026-05-12 14:42:29 -07:00
Ryan Fleury aea4a4ff9d eliminate os_core, move into base; eliminate regs, move into arch abstraction layer, define x64 regs in x64 layer; move win32 backend for os core (now base) functionality to top-level win32 layer 2026-05-08 15:21:21 -07:00
Ryan Fleury a027a0ea16 use fully qualified symbol names when doing dbg info searches & when producing strings in debug info table evals 2026-04-22 16:24:23 -07:00
Ryan Fleury d2eb9628ba test cases for ambiguous statics across many units; comments in exprs 2026-04-22 12:44:18 -07:00
Ryan Fleury 6f2b8540eb store partially-qualified names in generated RDIs; adjust debugger to do fully-qualified lookups when appropriate 2026-04-21 19:36:38 -07:00
Ryan Fleury 7a59548d5b remove 'Symbols' from section titles, now that old sections are gone 2026-04-20 09:57:33 -07:00
Ryan Fleury 881e19c842 get debugger onto new location info & symbol format 2026-04-20 09:57:33 -07:00
Ryan Fleury f59da0be9c extend eval language w/ identifier disambiguators - used to pick amongst many identically-named things. for instance, local_static#0 will match the first local_static, local_static#1 will match the second, etc. 2026-03-04 11:49:04 -08:00
Ryan Fleury b1a91b8247 adjust expiration timeouts for searches; fix unnecessary lowercasing when generating paths from pdbs 2025-10-23 16:41:08 -07:00
Ryan Fleury e88a59a57e mask off bad conversion task launches 2025-10-23 15:58:00 -07:00
Ryan Fleury ae17084b44 better artifact cache cancellation thread work organization - only do more frequent cancellation scans when in a tick, otherwise sleep 2025-10-23 14:39:44 -07:00
Ryan Fleury c8c25c0f98 processless debug info loading/unloading; separate modules from dbg infos in eval; keep dbg infos around after debugging via config, correllate to new modules, evict when necessary, when generating new versions 2025-10-22 16:39:29 -07:00
Ryan Fleury 36fadc3b95 need null check, if match is cancelled 2025-10-17 14:24:24 -07:00
Ryan Fleury 2eba506897 cancellation on match tasks - keep wide matches longer 2025-10-17 14:13:20 -07:00
Ryan Fleury 6bf2d2abb1 artifact cache cancellation mechanism - use in dbgi searching, since this gets huge (& is often not needed quickly after querying) 2025-10-17 14:10:51 -07:00
Ryan Fleury a2522c00fa tweak debug info conversion balancing - we want to give a bit more to debuggees... 2025-10-16 10:33:53 -07:00
Ryan Fleury 891eaec5cb bucket active conversion tasks by priority; adjust thread cap for bg conversion processes, don't flood cores with work while target is doing things 2025-10-15 17:56:10 -07:00
Ryan Fleury 9022efd3ab new strategy - allow artifact creation to report a completed generation which differs from the requested generation, thus preventing duplicate gen requests (in the case of ctrl process memory) 2025-10-09 11:24:48 -07:00
Ryan Fleury fe6eff9d3b pass requested gen to artifact creation hooks, use to retry ctrl memory reads on many successive mem gen bumps - prevents spurious duplicate hashes in content store history 2025-10-09 10:40:31 -07:00
Ryan Fleury 4268c1de76 bump load gen on dbgi close also 2025-10-08 15:59:56 -07:00
Ryan Fleury d2feaa5f56 oops, fix dbgi search arenas leak! 2025-10-07 16:45:02 -07:00
Ryan Fleury 2acf77ad9e fix impossible disasm loading condition; do not go wide on dbgi matching unless we have significant-enough dbgis 2025-10-07 11:34:30 -07:00
Ryan Fleury 835a57f918 extend dbgi matching system with preferred dbgi key, to disambiguate results - fill with primary module dbgi in eval, to always prefer selected thread context when applicable 2025-10-06 14:31:57 -07:00
Ryan Fleury b88c45d737 dbg info conversion events 2025-10-02 12:44:42 -07:00
Ryan Fleury 871daf3f22 only push unique hashes to key history in content layer; fix staleness detection in search 2025-10-02 12:08:31 -07:00
Ryan Fleury a58c23754a di2 -> di; delete old dbg info layer, delete async layer 2025-10-01 17:30:08 -07:00
Ryan Fleury 544fea0929 actually - keep (path * stamp -> key) and (key -> path * stamp) history - we do not need to evict these. also fix incorrect file map view closure on debug info close 2025-10-01 17:19:15 -07:00
Ryan Fleury 2cb94c422a update key -> path and path -> key records on debug info closing 2025-10-01 16:36:45 -07:00
Ryan Fleury db66beaf22 correctly interpret conversion completions; single high priority re-loop bit for async threads 2025-10-01 14:32:44 -07:00
Ryan Fleury b92821b503 convert less aggressively, fix incorrect di2 request batch clearing 2025-10-01 11:44:47 -07:00
Ryan Fleury 628eaf84ee fix release order in dbg_info2 2025-09-30 16:47:26 -07:00
Ryan Fleury 5b00aaadaf debugging / fixes 2025-09-30 14:18:11 -07:00
Ryan Fleury 4964a94cd3 transition to dbg_info2 2025-09-30 12:52:32 -07:00
Ryan Fleury 4b122dec51 testing / debugging 2025-09-30 11:21:35 -07:00
Ryan Fleury ea99cb22e7 dbg_info2: async match artifact cache hooks / lookup 2025-09-30 11:16:15 -07:00
Ryan Fleury bf27344a9b replace extra gen parameters in artifact creation hook; replace with explicit cancellation signal, passed by caller 2025-09-30 11:01:04 -07:00