janestreet / janestreet/magic-trace

Allow triggering on line numbers

Open
#151 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
OCaml
Stars
6.3k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

We can place the trigger breakpoint ~wherever we want. Currently we allow placing it only at function starts, but it should be possible to use the debug info to resolve (file, line number) pairs to addresses.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating trigger breakpoint handling and the debug-info lookup entry point; confirm the work is complete when a (file, line number) pair resolves to an address that can be used to place the trigger breakpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.