mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 12:05:21 +08:00
Expose breakpoint hitcounts in the expression language through the special variable runtime.bphitcount: delve.bphitcount[1] delve.bphitcount["bpname"] will evaluate respectively to the hitcount of breakpoint with id == 1 and to the hitcount of the breakpoint named "bpname". This is intended to be used in breakpoint conditions and allows breakpoints to be chained such that one breakpoint is only hit after a different is hit first. A few optimizations are implemented so that chained breakpoints are evaluated efficiently.
Delve Documentation
Documentation for the project will reside in this directory.