Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
60aea60
fix: pass `dap-server` to `ct/start-replay`
alehander92 Sep 25, 2025
5310a29
fix: pass `dap-server` to `ct/start-replay`
alehander92 Sep 25, 2025
734c630
feat: start prototyping experimental rr with db backend: TODO rr process
alehander92 Sep 26, 2025
2cf36d0
feat: work on experimetnal ct rr worker support: setup, communication
alehander92 Sep 29, 2025
a02d04b
feat: finish initial ct rr worker communication: now with sockets
alehander92 Sep 30, 2025
1ef34be
fix: use just one socket, not two sockets as Nikola suggested
alehander92 Sep 30, 2025
8456c8b
feat: add a small abstraction for db & rr replays: try to support loa…
alehander92 Oct 1, 2025
c3eb7be
fix: for now make it run with noop for some tasks; add more methods f…
alehander92 Oct 1, 2025
58f7d03
feat: tried to abstract stepping/loading locals for db and rr
alehander92 Oct 2, 2025
8ef6054
fix: address some cargo clippy/rust errors/warnings: ! use write_all,…
alehander92 Oct 3, 2025
412f3c8
test: fix db-backend Handler::new, launch request args for tests, del…
alehander92 Oct 6, 2025
d9286f4
test: initial version of a rr test
alehander92 Oct 6, 2025
ed44242
feat: start adapting load_flow for rr-backend; not finished
alehander92 Oct 7, 2025
b195f5e
refactor: continue with flow_preloader refactoring: a bit more left
alehander92 Oct 14, 2025
40cb307
refactor: finish initial flow preloader generalization for rr+db; fix…
alehander92 Oct 15, 2025
d126cbd
test: fix a bit rr_test
alehander92 Oct 15, 2025
6ccc540
fix: fix many jumps: fix most places where we directly jump with step id
alehander92 Oct 15, 2025
5ed2937
feat: start generalizing breakpoint/source line jump logic; not finished
alehander92 Oct 16, 2025
59ec811
refactor: generalize more of breakpoint logic for db/rr; TODO: more
alehander92 Oct 16, 2025
7b08360
fix: fix breakpoint mapping to locations in handler
alehander92 Oct 16, 2025
0dc8930
feat: try to generalize a bit of move to first flow step logic: prepa…
alehander92 Oct 16, 2025
7c01c17
fix: start using `ValueRecordWithType` to be able to embed types in t…
alehander92 Oct 17, 2025
9a30b9c
fix: fix test and log errors from handle_message/read method in DAP loop
alehander92 Oct 20, 2025
51d25f0
fix: try to support appimages in rr_dispatcher: still problems
alehander92 Oct 20, 2025
62cb3cd
feat: start adding breakpoint logic to load_diff_flow; not finished
alehander92 Oct 21, 2025
180f1de
fix: commit lldbinit.py
alehander92 Oct 23, 2025
d9caf7f
refactor: pass `lang` for some cases of loading values/locals
alehander92 Oct 24, 2025
7fcee5d
fix: making sure pascal is not counted as a db lang by mistake
alehander92 Oct 27, 2025
325e211
fix: small fix: don't fit content for event logs
alehander92 Oct 28, 2025
933869b
refactor: generalize event jumping for db/rr
alehander92 Oct 28, 2025
f95979e
test: small fix for rr_test
alehander92 Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ stop:
killall -9 virtualization-layers db-backend node .electron-wrapped || true
killall -9 electron || true
killall -9 backend-manager || true
killall -9 ct-rr-worker || true

reset-config:
rm --force ~/.config/codetracer/.config.yaml && \
Expand Down
1 change: 1 addition & 0 deletions src/common/common_lang.nim
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ IS_DB_BASED[LangSmall] = true
IS_DB_BASED[LangRustWasm] = true
IS_DB_BASED[LangCppWasm] = true
IS_DB_BASED[LangPythonDb] = true
IS_DB_BASED[LangPascal] = false

proc isDbBased*(lang: Lang): bool =
## return true if `lang` uses the db backend
Expand Down
1 change: 1 addition & 0 deletions src/common/common_types/language_features/value.nim
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type
rrTicks*: int
countBudget*: int
minCountLimit*: int
lang*: Lang

CtLoadLocalsResponseBody* = ref object
locals*: seq[Variable]
Expand Down
4 changes: 3 additions & 1 deletion src/common/config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type
path*: string
ctPaths*: string
debugInfoToolPath*: string
ctRRWorkerExe*: string

FlowConfigObjWrapper* = object
enabled*: bool
Expand Down Expand Up @@ -63,7 +64,8 @@ type
enabled: false,
path: "",
ctPaths: "",
debugInfoToolPath: ""
debugInfoToolPath: "",
ctRRWorkerExe: "",
).}: RRBackendConfig
skipInstall: bool

Expand Down
1 change: 1 addition & 0 deletions src/config/default_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ rrBackend:
path: ""
ctPaths: ""
debugInfoToolPath: ""
ctRRWorkerExe: ""

skipInstall: true

Expand Down
Loading
Loading