I'm trying to debug
eskk.vim. It has a
asym_filter function. The function is invoked on each keypress when in a certain mode. The mode is entered by pressing
C-j in Insert mode.
So, I set a breakpoint at the beginning (
:breakadd here), enter Insert mode (
C-j, the debugger appears, I press
c<Enter>, then I'm back in my buffer. From this point on no matter what I do, it doesn't stop at the breakpoint. Although I know it's set, and that that function gets executed. Am I missing something? Is the function in any way special?
UPD I noticed that it stops at a different place:
But still not sure if it stops more than once. I've gathered that info by restarting
nvim to be precise.