Skip to content

Commit

Permalink
Add development doc for breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhnik committed Jun 11, 2018
1 parent 59834da commit 1cc1c40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/nvimgdb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ Section 6: Development *NvimgdbDevelopment*
to ensure the original keymaps are preserved and restored after debugging
session: https://vi.stackexchange.com/questions/7734/how-to-save-and-restore-a-mapping

- Breakpoints set can be intercepted by the plugin and marked in the source
code. This is currently implemented only in GDB, because LLDB doesn't make
difference between temporary and persistent ones. There is no need to place
a breakpoint sign for a temporary breakpoint. Under the hood, when an
unexpected breakpoint notification is recognized, the python plugin will
open and bind a socket, issue a custom command to the GDB, and wait until
the command sends a message with response via the socket.

==============================================================================
Section 7: Trivia *NvimgdbTrivia*

Expand Down

0 comments on commit 1cc1c40

Please sign in to comment.