32 Commits

Author SHA1 Message Date
Ingo Heimbach
77925fa4b2 Do not execute autocommands when writing lines to vebugger buffers
For writing lines to vebugger's shell and terminal buffer the active
window is changed for every single line which causes a huge slowdown on
large output. By disabling autocommands, these slowdowns can be reduced.
2018-05-23 14:59:38 +02:00
IdanArye
833806978e Fix #54 - remove all breakpoint signs with :VBGclearBreakpoints 2018-04-21 21:09:20 +03:00
wsdjeg
876af0d1c2 Use full command names 2017-12-18 22:40:40 +08:00
wsdjeg
9c47e1b243 Add options for set sign text 2017-12-18 22:18:09 +08:00
wsdjeg
cd61f1029c Add filetype 2017-12-13 21:23:28 +08:00
Dalton Barreto
5fedcab009
Highlight current debugged line with DebuggedLine
If the `DebuggedLine` highlight-group exist, highlight the current
debugged line with it.
2017-10-17 16:49:35 -02:00
Ingo Heimbach
a2e2dcd612 Use feedkeys for echoing evaluated expressions
Echo commands in vim 8 timer handlers do not wait for the user to
confirm. Echoing via feedkeys circumvents this problem.
2017-01-22 12:39:06 +01:00
IdanArye
3ef3f45016 Fix #25 - pre-process GDB's MI output 2016-02-17 00:44:19 +02:00
IdanArye
fa63556530 Fix #23 - Remove usage of bufexists
`bufexists` can't handle the home directory(`~`). Instead use `bufnr`
and `bufwinnr`, which are more appropriate.

Also, I've decided to use `bufwinnr` instead of `bufnr` for checking if
the file exists before loading it with `g:vebugger_view_source_cmd`, so
it'll use `g:vebugger_view_source_cmd` if no window displays the buffer
- even if the buffer is loaded. This fixes an inconsistency that was
before, that `g:vebugger_view_source_cmd` would get invoked only if the
file has no buffer loaded, if there is a buffer loaded it'll jump to it
from the current window.
2015-11-06 22:30:02 +02:00
David Nguyen
806d6228cc Close shell buffer when killing the debugger 2015-06-27 14:03:03 +02:00
IdanArye
fe8685ad84 Close #13 only use BreakPoint highlight only if it's predefined 2015-04-15 23:03:28 +03:00
IdanArye
df8e4ddbc9 Check that the BreakPoint highlight style doesn't exist before redfining it 2015-04-11 17:59:02 +03:00
Kevin Brandon
bc0c05713d Fixes issue #13 by defining a color group called BreakPoint. By default it reverses the color scheme for term, cterm, and gui 2015-04-11 02:10:03 -07:00
IdanArye
4567ad166b Change the code path of user actions
Most user actions now go through vebugger#userAction, which calls the
user action on the active debugger object. The exceptions are:

 - Starting the debugger - because we don't have an active debugger yet
 - Stopping the debugger - because we'll need to clear the active
   debugger after that
 - Altering breakpoints - because we want to be able to do it even
   without an active debugger(e.g. - setting breakpoints before starting
   the debugger)
2015-02-28 19:16:25 +02:00
Reuben D'Netto
2914f5a116 Added configuration option g:vebugger_edit_cmd 2015-02-16 16:29:29 +11:00
IdanArye
b8dd945557 Fix #5 - Vim7.3 compatibility 2015-01-24 02:12:49 +02:00
IdanArye
b35eb96727 Added documentation 2014-05-17 22:43:18 +03:00
IdanArye
8a26f05585 Attempt to fix a crash that happens sometimes with the shell buffer 2014-05-17 19:27:46 +03:00
IdanArye
75cee7c51f Added statement execution for GDB.
Only supports setting variables and executing functions, because that's
what GDB supports(via different commands)(I think - didn't find anything
else...)
2014-05-16 23:58:40 +03:00
IdanArye
f7af3d4406 Added shell buffer support for rdebug
Also made it skip stops at external files
2014-05-16 18:25:45 +03:00
IdanArye
9524694afd Added a shell buffer.
Currently only for GDB
2014-05-16 17:42:22 +03:00
IdanArye
eba1009a51 Added keymaps for raw writing and made the signs mechanism use full paths. 2014-05-14 22:52:01 +03:00
IdanArye
59f55a62be Displaying exceptions in JDB 2014-02-08 22:58:34 +02:00
IdanArye
c46efb2c4f Added GDB support 2014-02-08 00:51:13 +02:00
IdanArye
69dab33ea3 Added expression evaluation functionality 2014-01-18 00:36:13 +02:00
IdanArye
61d1c3f752 Changed signs mechanism to use full paths 2014-01-17 23:16:09 +02:00
IdanArye
07fb6eb21a Added breakpoints support 2013-12-28 22:23:33 +02:00
IdanArye
048e4a089a Added write actions
Also added flow commands
2013-12-27 23:52:57 +02:00
IdanArye
9788f69c3e Added callstack support
Currently only sets the state with the current callstack
2013-12-27 23:10:18 +02:00
IdanArye
a820f6b777 Removed state arguments from think handlers.
The state can be taken directly from the debugger object
2013-12-27 22:54:11 +02:00
IdanArye
6d5f612bbf Fixed deep filename resolving for jdb 2013-12-27 22:19:29 +02:00
IdanArye
375c040203 Can now read location and jump to it 2013-12-25 20:33:12 +02:00