Skip to content

Commit 5b023d7

Browse files
authored
chore(debugger): note stale probe diagnostics edge case (#8897)
Document the re-evaluation path where a probe can initially report ERROR because no loaded script matched, then attach successfully later without reporting INSTALLED.
1 parent 39f12e5 commit 5b023d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/dd-trace/src/debugger/devtools_client/breakpoints.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ async function reEvaluateProbe (probe) {
269269
if (probeToLocation.has(probe.id)) {
270270
await removeBreakpoint(probe)
271271
}
272+
// TODO: Revisit diagnostic status handling for probes that recover during re-evaluation. A probe can initially
273+
// report ERROR because no script matched, then attach successfully here without reporting INSTALLED.
272274
await addBreakpoint(probe)
273275
}
274276
}

0 commit comments

Comments
 (0)