PostHog · Schema

BreakpointHit

Schema for a single breakpoint hit event

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string Unique identifier for the hit event
lineNumber integer Line number where the breakpoint was hit
functionName string Name of the function where breakpoint was hit
timestamp string When the breakpoint was hit
variables object Local variables at the time of the hit
stackTrace array Stack trace at the time of the hit
breakpoint_id string ID of the breakpoint that was hit
filename string Filename where the breakpoint was hit
View JSON Schema on GitHub

JSON Schema

posthog-breakpointhit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BreakpointHit",
  "title": "BreakpointHit",
  "type": "object",
  "description": "Schema for a single breakpoint hit event",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the hit event"
    },
    "lineNumber": {
      "type": "integer",
      "description": "Line number where the breakpoint was hit"
    },
    "functionName": {
      "type": "string",
      "description": "Name of the function where breakpoint was hit"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "When the breakpoint was hit"
    },
    "variables": {
      "type": "object",
      "additionalProperties": true,
      "description": "Local variables at the time of the hit"
    },
    "stackTrace": {
      "type": "array",
      "items": {},
      "description": "Stack trace at the time of the hit"
    },
    "breakpoint_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the breakpoint that was hit"
    },
    "filename": {
      "type": "string",
      "description": "Filename where the breakpoint was hit"
    }
  },
  "required": [
    "breakpoint_id",
    "filename",
    "functionName",
    "id",
    "lineNumber",
    "stackTrace",
    "timestamp",
    "variables"
  ]
}