Comments (7)
I came back to the plugin today and yes! this works out of the box
Don't really know why it didn't work at the time!
from nvim-gdb.
@Narice, I can't understand the issue yet. Could you please provide your configuration and the steps to reproduce the problem?
from nvim-gdb.
Sorry for the late reply but here is what is happening.
in my .vimrc, I have put the code that is in the README.md for nvimgdb_config_override.
Thus, I have 's' mapped to 'step'.
But, when I do :GdbStart, I have to enter 'start' in the gdb console to start the process
But, as I have 's' mapped to 'step', I can't enter the 's' of 'start' without triggering the step command.
So I can't write 'start' in an intuitive fashion in the console.
Step to reproduce:
- Put the code mentioned in the README.md into a .vimrc
- Start the debug tab
- Try to enter start or any command including any letter used in the nvimgdb_config_override option in the gdb console
from nvim-gdb.
I see what's going on now, thanks! Let me think how to fix it.
from nvim-gdb.
It turns out it's already possible to suppress the keymaps in the terminal window. So going to update the README.
from nvim-gdb.
Sorry to bother but I don't really see how what you added in the readme helps.
It seems I didn't understand the solution
I'll try to work it out in the meantime but I'm not sure I'll succeed
just copying what you wrote doesn't work out of the box, I'm surely missing something
from nvim-gdb.
It should work out of the box now. We started from the keys like s
triggering a GDB command step
in the debugger window. However, if an (almost) empty hook function set_tkeymaps
is specified, the plugin won't define normal keymaps in the terminal window.
It tried the config and it works for me.
from nvim-gdb.
Related Issues (20)
- Is it possible to disable default keybindings? HOT 1
- Implement checkhealth
- Feature Request: Make vim the owner of breakpoints and not the debugger HOT 3
- Error detected while processing TabLeave Autocommands for "*" on tabnew: GdbStartPDB HOT 7
- [Solved] Unknown sign: GdbBreakpoint0 after merging d7504a52e3f5f1b6d7f62a006646681bde65a310 HOT 2
- 'GdbStart...' error if delete buffer at event 'NvimGdbCleanup' HOT 2
- mingw support? HOT 6
- Port the test suite to be based on Lua
- Port launch scripts to Lua
- Port PTY proxy to Lua
- Support PerlDB HOT 4
- gdb attach mode HOT 1
- My environment breaks the plugin HOT 2
- error calling thread_get_state for gp registers for thread 0x1d3 HOT 9
- nvim_config_override works with vimscript functions but not lua functions HOT 1
- DWARF2 Queue Guard Internal Error on run HOT 6
- showing variables when debugging with bashdb HOT 3
- [Question] unable to run lldb on Mac HOT 2
- GDB crashes with Fatal signal: Segmentation fault
- "Break" in command line history pdb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-gdb.