logoalt Hacker News

mseepgoodlast Tuesday at 6:20 PM2 repliesview on HN

How would you set a breakpoint on the error return case?


Replies

tubthumper8last Wednesday at 4:34 AM

Inline breakpoint, the same way you set a breakpoint on an expression in any language

bccdeelast Tuesday at 6:22 PM

You wouldn't. Rust's ? operator doesn't permit that either. If you need to put a breakpoint there, put a line break there.

show 1 reply