Commit Graph
1251 Commits
Author SHA1 Message Date
Nikita Smith edd982852e pass over DWARF converter
- prepare to thread line table conversion
- error handling
- organizational improvements
2026-02-05 17:43:20 -08:00
Nikita Smith 44123e9712 extend regs with DWARF registers mappings and read/write machine ops 2025-12-16 10:47:05 -08:00
Nikita Smith c221286ab8 WIP process attaching 2025-12-08 13:29:24 -08:00
Nikita Smith f9561cb618 add support for CFA in the eval system
Canonical Frame Address is a DWARF-only concept encoded in the unwind info.
Debugger must store this data for each call frame and provide it to
the eval system based on selected stack frame.

To abstract over format details, we introduce a "Frame Unwind Context".
For DWARF, this context maintains the intermediate unwind state and exposes
the CFA, whereas for PE, it remains empty.
2025-11-26 15:42:40 -08:00
Nikita SmithandRyan Fleury 66606b0327 use STAP probes to generate load and unload module events 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 0d5df8f38d ELF includes 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury e6a01472c8 layer for x64 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury f0bd30c89b layer for interfacing with GNU 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury dad92610de dumper for .eh_frame_hdr and .eh_frame 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury da38f266d9 parser for .eh_frame versions of CIE and FDE and new helper for
mapping PC -> CFI Row
2025-11-07 14:39:45 -08:00
Ryan Fleury 88b79b2b6a turn off transient tab creation with explicit open/switch command 2025-11-07 14:15:35 -08:00
Ryan Fleury e4aae5b075 respect cursor trail enabling in single line trail path 2025-11-07 13:40:24 -08:00
Ryan Fleury 0549f670c3 cell cursor trail 2025-11-07 13:20:57 -08:00
Ryan Fleury 0c7630e41c cursor trails 2025-11-07 12:00:40 -08:00
Ryan Fleury af7f571932 adjust menu bar 2025-11-03 14:59:15 -08:00
Ryan Fleury 7a5784b5f0 notes 2025-10-23 16:21:12 -07:00
Ryan Fleury 5a93f5d4cb clean up drop completion, provide paths for debug info drop completion 2025-10-23 15:37:34 -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 721649b7ea tweak process working set size placement 2025-10-23 14:14:48 -07:00
Ryan Fleury 1d8abb1906 switch to tighter cache for loaded debug infos 2025-10-23 13:55:51 -07:00
Ryan Fleury c318c10486 pipe through guids in rdi conversion; sketch out 'query' meta cfg evaluation members, which are not stored but computed, but are not sets; plug in debug info guid evaluation that way 2025-10-23 12:10:23 -07:00
Ryan Fleury b33a257bc4 switch eval viz stringification, and lister completions, over to working correctly with process-less (but not debug-info-less) evaluations 2025-10-22 16:59:24 -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 cf856524c1 reflect dpi change events appropriately in font size / window pos & size 2025-10-20 17:42:34 -07:00
Ryan Fleury f2d28045fa fix incorrect clip in ui hover 2025-10-20 17:07:36 -07:00
Ryan Fleury 08698d739d do not use full escaping path for cli args - does not correctly match command line behavior 2025-10-20 16:35:04 -07:00
Ryan Fleury c921645043 fix signed shifts in raddbg_markup utf8 decoding; fix quoting of argument strings with spaces in command line target builds 2025-10-20 16:19:22 -07:00
Ryan Fleury a96c822440 use process handles in list evaluations rather than spaces - we will need to upgrade this once eval has been upgraded 2025-10-17 07:37:36 -07:00
Ryan Fleury 0f277d6e6e float panels into config layer 2025-10-16 15:26:07 -07:00
Ryan Fleury 7844761748 float keymaps into config 2025-10-16 15:19:18 -07:00
Ryan Fleury 2f315911a5 switch off rd_cfg to cfg layer 2025-10-16 15:00:13 -07:00
Ryan Fleury 46634f547f remove old frame call stack tree cache - supplanted by artifact cache 2025-10-16 14:08:50 -07:00
Ryan Fleury edb1863020 rd_cfgid -> cfg_id 2025-10-16 14:06:12 -07:00
Ryan Fleury 02c7aaec85 progress on config layer untangled from debugger frontend, to do eval on config on ctrl or async threads; turn off metaprogram by default 2025-10-16 12:02:06 -07:00
Ryan Fleury 8dbfa97c71 adjust list lens member picking rules - use default argument, then fall back to next, prev, or the first pointer to an identical type 2025-10-16 11:10:00 -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 ac9d6e861c first pass at list view, w/ asynchronous offset chain gathering 2025-10-15 16:33:59 -07:00
Ryan Fleury 87edc583bf define ctrl entity eval spaces once, in ctrl layer - nest in rd layer 2025-10-13 12:40:28 -07:00
Ryan Fleury ac378b0ac2 switch in file menu 2025-10-10 13:10:02 -07:00
Ryan Fleury 7fcba83282 use debug info to infer language for files from including-unit language, if we cannot deduce it from extensions / settings (e.g. C++ .inl files) 2025-10-10 13:08:43 -07:00
Ryan Fleury bd9372f07c use current working directory as working directory for command line targets 2025-10-10 12:56:24 -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 96477c65dd switch to martins hash 2025-10-08 12:58:59 -07:00
Nikita Smith 401d7b47df factor out C++ ABI exception handling 2025-10-07 20:28:06 -07:00
Ryan Fleury 9e110bbe6d resolve register space -> primary module space in all visualizers which work on, broadly speaking, ranges of memory 2025-10-07 17:23:58 -07:00
Ryan Fleury fb825247ed resolve register-space evaluations to primary-module space evaluations in the visualizers 2025-10-07 17:20:44 -07:00
Ryan Fleury 7ff5764696 store successful queries keyed by target section as well, to avoid different table evals having different success states - fixes autocomplete flicker 2025-10-07 16:57:05 -07:00
Ryan Fleury 783988c0ac expand ctrl process memory cache access to allow waiting for fresh results, rather than any results; use when doing a ctrl process memory write, to prefer viewing less stale data on exact frame. also expand trap net generation with success bit, use to retry stepping commands across frames if process memory reads are hindered. abort after N retries. 2025-10-07 15:44:35 -07:00
Ryan Fleury 2cc7f45ec1 promote register values to primary module space values for memory view specifically 2025-10-07 15:06:46 -07:00