Closed Alexey104 closed 1 year ago
Thanks for the report. I'm unable to reproduce the issue because it is specific to the debugged code. I suggest bisecting the issue by exploring beyond the merge commits and trying to identify the root cause.
I apologize for wasting your time, this is the false report. The issue was not in nvim-gdb itself, but in my ~/.gdbinit
. I used this fancy thing called "gdb-dashboard" which adds tons of python stuff to gdb config. After throwing it out of my ~/.gdbinit
the issue is not reproducible anymore.
What are the steps to reproduce this issue?
:GdbStart gdb -q ./program
start
break some_object::some_method()
continue
What happens?
nvim-gdb crashes:
What were you expecting to happen?
The program should continue the execution until the breakpoint.
Any logs, error output, etc?
I really want this report to be useful, but, unfortunately, I cannot share any of the
nvimgdb.log
,proxy.log
orspy_ui.log
. The code I am working on is not my personal project but a proprietary code related to my job, and I am strictly forbidden to share any logs containing even small parts of this code. Sorry:(Any other comments?
The issue occurs with neovim v0.9.0 with any commit including d7504a52e3f5f1b6d7f62a006646681bde65a310 and later, but no any problems at all with earlier commits. I currently use 3c3511affd2fa07bac2cf97854f17630b949ba10, and everything works just fine. If you just go throughout the code step-by-step using
next
orstep
commands, everything is fine, but if you let the program run freely usingcontinue
,until
orfinish
, nvim-gdb crashes when breakpoints at certain places of code is reached (not all breakpoints lead to crash, but I have a couple of class methods such that if I set a breakpoint at any of these methods andcontinue
until this breakpoint, nvim-gdb will always crash).I am really sorry for not being able to provide additional logs.