test(debugger): cover breakpoint error paths#8996
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Overall package sizeSelf size: 6.36 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2026-06-26 17:19:12 Comparing candidate commit b471b4b in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2245 metrics, 41 unstable metrics.
|
a8de7ad to
09a70be
Compare
75ba72e to
3f928f1
Compare
🎉 All green!🧪 All tests passed 🔗 Commit SHA: b471b4b | Docs | Datadog PR Page | Give us feedback! |
09a70be to
5a6de48
Compare
3f928f1 to
d869c02
Compare
Add focused unit coverage for existing debugger breakpoint behavior that was previously untested. The new cases cover source map location translation failures, inspector breakpoint operation failures, and async re-evaluation error logging.
5a6de48 to
b471b4b
Compare
Add focused unit coverage for existing debugger breakpoint behavior that was previously untested. The new cases cover source map location translation failures, inspector breakpoint operation failures, and async re-evaluation error logging.
Add focused unit coverage for existing debugger breakpoint behavior that was previously untested. The new cases cover source map location translation failures, inspector breakpoint operation failures, and async re-evaluation error logging.
Add focused unit coverage for existing debugger breakpoint behavior that was previously untested. The new cases cover source map location translation failures, inspector breakpoint operation failures, and async re-evaluation error logging.

What does this PR do?
Adds focused unit coverage for existing debugger breakpoint behavior in
breakpoints.spec.js.The new tests cover source map location translation, source map lookup failures, wrapped inspector errors when setting/removing breakpoints, and async re-evaluation error logging.
Motivation
These paths were not directly covered by the sampling refactor PR, but they are important debugger breakpoint error-handling behavior and are worth testing separately.