software-mansion / software-mansion/live-debugger

Pattern matching for callback traces

Open
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

research
Dominant language
Elixir
Stars
765
Forks
29
Avg merge
5d 2h
Merged PRs (30d)
2

Description

The goal here is to add option to filter out callback traces via pattern matching - user should be able to declare that they want only handle_info with specific arguments structure e.g.

handle_info({:new_message, %Message{priority: "high"}, _socket)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the callback-trace filtering entry point and inspect how handle_info traces and their arguments are represented. Define the pattern syntax using the provided {:new_message, %Message{priority: "high"}, _socket} example, then verify that only matching callback traces remain while other traces are filtered out.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.