RousselTMLEARNING

Observability

Live Debugger in Dynatrace

Debugging in production with Dynatrace Live Debugger: non-breaking breakpoints, snapshots, conditions, collection limits, VS Code and JetBrains extensions, permissions, sensitive data masking and a debugging method.

1. Debugging without stopping #

Breakpoints that do not block.

The principle #

Good to know : Dynatrace SaaS, third-generation platform (Grail, AppEngine). The apps mentioned are in the app launcher; some depend on the licence (Dynatrace Platform Subscription).

Live Debugger sets non-breaking breakpoints: when execution passes the line, the agent captures a snapshot (local variables, call stack, process information, related trace) without suspending the thread. You understand a production bug without adding logs or redeploying.

Live Debugger

When to use it #

  • A bug that only reproduces in production (real data, configuration, load).
  • An error trace whose message is not enough: you want to see values at the time of the error.
  • A hypothesis to check fast, without a delivery cycle.

2. Features #

Breakpoints, conditions, limits.

Overview #

FeatureRole
Statesactive, pending (being rolled out to agents), disabled, error, warning
Conditionsonly capture if an expression is true (for example a specific customer ID)
Limitscap on snapshots and data per breakpoint, automatic deactivation
Targetingby file and line, on chosen instances (filters by process, tags)
IDEVS Code and JetBrains extensions: set breakpoints and read snapshots from the editor

A typical session #

Debugging session
  1. Start from a symptom: error trace, log, customer ticket.
  2. Open the file (in the app or IDE, linked to the code repository) and set a breakpoint, conditional if traffic is high.
  3. Wait for the next pass: the snapshot arrives within seconds.
  4. Read variables and stack, confirm or reject the hypothesis, then remove the breakpoint.
// Latest collected snapshots (application snapshots table)
fetch application.snapshots, from: now() - 2h
| sort timestamp desc
| limit 20

3. Security #

A snapshot contains real data.

Rules #

  • Dedicated permissions: dev-obs:breakpoints:set to set breakpoints, storage:application.snapshots:read to read snapshots; give them to a restricted group.
  • Configure masking rules (passwords, tokens, card numbers, personal data) before opening access.
  • Set a short retention for snapshots and audit who set which breakpoints.
Watch out : A breakpoint on a very busy line, with no condition, consumes CPU and collects a lot of data: limits protect the application, but always target as precisely as possible.

Commands to know #

Commands to know
  • dev-obs:breakpoints:set : breakpoint permission
  • storage:application.snapshots:read : read snapshots
  • fetch application.snapshots : query snapshots in DQL
  • “Dynatrace Live Debugger” extension : VS Code and JetBrains

Sources #

Based on the official Dynatrace documentation checked in November 2026: platform apps change every month, check labels, permissions and field names in your environment before relying on a detail.

Related articles

Time-based vs event-based SLO: understanding, computing and choosing (with the Qonto example)

Differences between time-based SLOs (time slices, uptime) and event-based SLOs (good events over total): defi…

The observability trilemma: cost, completeness and performance, and how solutions resolve it

Understanding the observability trilemma (cost, data completeness, query performance), its three trade-offs, …

Accessing the Dynatrace playground and getting started

The Dynatrace playground is a demo environment full of real data: how to access it, what it allows and does n…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!