24 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
wsdjeg
cd61f1029c Add filetype 2017-12-13 21:23:28 +08:00
Ingo Heimbach
e684fdffd9 Use vim 8 timers for continuous checking of debugger output 2017-01-08 11:07:48 +01:00
IdanArye
3ef3f45016 Fix #25 - pre-process GDB's MI output 2016-02-17 00:44:19 +02:00
Idan Arye
fa84d5c0a5 Fix #24 - typo: Ternimal -> Terminal 2016-01-26 19:21:19 +02:00
David Nguyen
806d6228cc Close shell buffer when killing the debugger 2015-06-27 14:03:03 +02:00
IdanArye
acda6c5b12 Merge branch 'master' into develop 2015-05-29 16:18:45 +03:00
IdanArye
2f52caac25 Fix #17 - Vebugger interfieres with Ctrlp plugin
Use `'n'` mode with `feedkeys("f\e")` to prevent CtrlP's mapping from
interpreting `f` as actual "add `f` and close the window"...
2015-05-29 16:16:36 +03:00
IdanArye
f98c830b82 Changed the Vebugger_*UserAction activation to use try...finally
That way, errors in the event listeners will neither be swallowed nor
will they prevent the user action from happening.
2015-03-01 21:32:20 +02:00
IdanArye
e3c069b5b6 Add hook for pre&post user actions 2015-02-28 19:45:05 +02: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
IdanArye
b35eb96727 Added documentation 2014-05-17 22:43:18 +03:00
IdanArye
9524694afd Added a shell buffer.
Currently only for GDB
2014-05-16 17:42:22 +03:00
IdanArye
a52f92a839 Used the timer trick to continue reading when user stays idle
http://vim.wikia.com/wiki/Timer_to_execute_commands_periodically
2014-05-16 15:15:12 +03:00
IdanArye
d0d7fd827e Some minor fixes 2014-05-14 21:52:55 +03:00
IdanArye
ac5be406e9 Implemented for rdebug
Also fixed a problem with the gdb value display result regex syntax
2014-05-14 13:14:34 +03:00
IdanArye
07fb6eb21a Added breakpoints support 2013-12-28 22:23:33 +02:00
IdanArye
40f9e42735 Added toggling command for the log buffer 2013-12-28 00:08:42 +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
375c040203 Can now read location and jump to it 2013-12-25 20:33:12 +02:00
IdanArye
c7a539ba46 Added log-output-to-buffer functionality 2013-12-25 01:21:41 +02:00
IdanArye
e023c234ab Got the basic shell IO to work 2013-12-23 23:37:18 +02:00