sakhnik / nvim-gdb

Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Current line not shown when a hardware watch is triggered in GDB

ammen99 opened this issue · comments

Hello,

I have just set up this plugin and I love it! However, I noticed something strange, when I set up a watchpoint in gdb with watch <X> then when <X> changes, in the gdb terminal I can of course see that the watched variable has changed. However, in the window where the source code is displayed, the current line is not marked as usual. Is this something by design, missing functionality, or something I have misconfigured? Thanks in advace.

Hi! I'm not sure whether this is a bug. Could you please record a showcase with asciinema?

Yes, here it is: https://asciinema.org/a/aO29TGEgNXGSGdgDrMRMJfmv7

Before opening vim, I have already compiled the source code with gcc test.c -o test -g. Everything else is visible in the recording.

Thanks, yes, that's a bug. I'll look into it.

@sakhnik I just tested 505b7b6, seems to work, thanks!

@ammen99, well, I've just discovered that some tests fail in neovim-0.6. I'll need to investigate those failures before officially releasing the fix.