ElixirScope.AST.InjectorHelpers (elixir_scope v0.0.1)
Helper functions for injecting ElixirScope instrumentation into AST nodes.
Provides utilities for generating instrumentation calls while preserving original code semantics and structure.
Summary
Functions
Captures GenServer state after a callback call.
Captures GenServer state before a callback call.
Captures LiveView event data.
Captures LiveView socket assigns.
Captures Phoenix connection state and response after action.
Captures Phoenix connection state before action.
Captures Phoenix controller parameters.
Generates a function entry call for instrumentation.
Wraps GenServer callback body with state monitoring.
Wraps LiveView callback body with monitoring.
Wraps Phoenix action body with monitoring.
Wraps function body with try/catch for exit and exception handling.
Functions
Captures GenServer state after a callback call.
Captures GenServer state before a callback call.
Captures LiveView event data.
Captures LiveView socket assigns.
Captures Phoenix connection state and response after action.
Captures Phoenix connection state before action.
Captures Phoenix controller parameters.
Generates a function entry call for instrumentation.
Wraps GenServer callback body with state monitoring.
Wraps LiveView callback body with monitoring.
Wraps Phoenix action body with monitoring.
Wraps function body with try/catch for exit and exception handling.