Closed
Description
Right now, the debugger on the nrepl side consists only of a series of breakpoints. That is, when a breakpoint is reached, it notifies cider and waits for a response.
This means cider has no idea of how the breakpoints relate to each other. Are they part of the same function call? Are there more breakpoints up ahead? Cider has no way of knowing, and so it can't decide to leave some overlays hanging around, and it's harder to implement more sophisticated navigation commands.
It would be useful to have this information available. And it should be possible by wrapping function bodies in a new kind of form, like debugging-session or something.