Commit Graph

24 Commits

Author SHA1 Message Date
David Nguyen
d016e6aec0 Rename VBGclearBreakpints to VBGclearBreakpoints 2015-06-27 13:03:59 +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
a97d06519a Add docs for the 'con' flag for gdb
Also expand :VBGattachGDB to support either 'pid' or 'con' as second
command argument.
2015-02-16 00:41:08 +02:00
IdanArye
5036961da9 Add support for multiple versions of debuggers 2014-06-24 01:46:03 +03:00
IdanArye
b0be0c92b7 Allow GDB to work with Dlang executables
This is done by allowing to choose differet entry points to start the
program at.
2014-06-24 00:07:28 +03:00
IdanArye
1688d04f24 Set file completion for the :VBGtoggleBreakpoint command 2014-05-19 19:06:37 +03:00
IdanArye
663c38e1a6 Changed the raw-write key from ALT+W to R 2014-05-17 20:59:30 +03:00
IdanArye
71671f0fa4 Added command-line-arguments support for all debuggers.
Won't work, ofcourse, when attaching a debugger to a running process...
2014-05-17 19:23:15 +03:00
IdanArye
88ad7dbae7 Changed the raw-write command keymapping to use alt.
It's not something that should be used with keymaps...
2014-05-17 00:01:12 +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
b5cbffd7bc Add attach-to-running-process mode for GDB 2014-05-16 23:33:15 +03:00
IdanArye
28c44ce69a Added keymap for clearing all the breakpoints 2014-05-16 18:03:05 +03:00
IdanArye
762034df2c Changed the eval and write keymaps to be more consistent.
Now:
 - `e` and `w` eval and write the word(`e`) or line(`w`) under the
   cursor.
 - Unless some text is selected - in that case they use the selected
   text.
 - `E` and `W` prompt the user to type what to eval or write.
2014-05-14 23:04:01 +03:00
IdanArye
5994aa9c07 Added some more commands and keymaps 2014-05-14 22:58:02 +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
d0d7fd827e Some minor fixes 2014-05-14 21:52:55 +03:00
IdanArye
c51b7f0b10 Added commands for stopping the debugger and for starting GDB.
Didn't add command for starting JDB, since it's too complex to provide
the source and classes file path in a command - might as well leave it
as a Vim function...
2014-02-08 02:33:18 +02:00
IdanArye
69dab33ea3 Added expression evaluation functionality 2014-01-18 00:36:13 +02:00
IdanArye
07fb6eb21a Added breakpoints support 2013-12-28 22:23:33 +02:00
IdanArye
6f64ff6fda Added basic keymaps 2013-12-28 00:17:31 +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
e023c234ab Got the basic shell IO to work 2013-12-23 23:37:18 +02:00