mirror of
https://github.com/go-delve/delve.git
synced 2026-01-24 18:01:02 +01:00
Add a fake delve.catch function that can be used to wrap the expression of breakpoint conditions so that they do not stop if the expression can not be evaluated correctly. The main use case for this is that it's hard to set breakpoint conditions on interface variables that assume different types but it can also be useful in other cases (for example checking the value of a pointer-to-struct that sometimes is nil).