Commit Graph

110 Commits

Author SHA1 Message Date
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
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
Idan Arye
3f13848d67 Merge pull request #8 from rdnetto/feature/flexible-opening
Added configuration option g:vebugger_edit_cmd
2015-02-16 11:11:06 +02:00
Reuben D'Netto
2914f5a116 Added configuration option g:vebugger_edit_cmd 2015-02-16 16:29:29 +11: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
Reuben D'Netto
940af913be "Added 'con' option to vebugger#gdb#start" 2015-02-15 16:45:00 +11:00
IdanArye
b8dd945557 Fix #5 - Vim7.3 compatibility 2015-01-24 02:12:49 +02:00
IdanArye
f93bac384b Fix indentation and bump bugfix version 2015-01-14 22:08:41 +02:00
IdanArye
31a8bd64c8 Fixed breakpoints for MDBG in Cygwin
Now I just need to see that everything works in regular Vim under Windows...
2015-01-14 00:53:36 +02:00
IdanArye
6d9ace9f62 Fix paths for MDbg in Cygwin 2015-01-13 00:22:02 +02:00
IdanArye
f51ff80896 Fix for line stops in GDB.
Apperantly GDB changed the format, so Vebugger was changed to reflect
that.
2014-08-30 00:40:21 +03: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
f0368a1de6 Use a pattern instead of fnamemodify for MDbg breakpoints 2014-06-12 20:48:38 +03:00
unknown
854f86d067 Added more supported characters to method full name in MDBG where parsing 2014-06-10 11:45:24 +03:00
unknown
cfbfb52517 Remove the .exe extension from the default Mdbg - Windows doesnt need itdel C:\Users\IdanA\AppData\Local\Temp/.vimtmp/*~ 2014-06-10 10:42:37 +03:00
unknown
dbe939096c Fixed the regex for MDBG file path parsing 2014-06-10 10:37:14 +03:00
IdanArye
2438ac6cce This should do the trick! 2014-06-09 21:37:48 +03:00
IdanArye
ff2a8207d8 Add a function that checks if a path is full or relative 2014-06-09 21:36:38 +03:00
IdanArye
722d1e49b8 Make GDB, JDB, PDB and RDebug look at global variables for exeutable paths.
Mdbg already had this feature, since the Windows SDK doesn't normally
put it in the PATH(just like any other Microsoft tool that assumes you
are going to use Visual Studio and don't need the PATH...)
2014-05-23 17:43:01 +03:00
IdanArye
06ef976fff Add MDBG support(Windows only of course...) 2014-05-22 22:17:22 +03:00
IdanArye
57f86ef3ac Merge branch 'add-framework-for-taking-path-from-global-variables' into add-mdbg-support 2014-05-22 19:16:18 +03:00
IdanArye
3d251625c0 Add the function vebugger#util#getToolFullPath 2014-05-22 19:14:34 +03:00
IdanArye
ea92572fa1 Prevented the shell buffer in Windows.
I can't get it to work without PTY
2014-05-22 17:21:31 +03:00
IdanArye
3012df9a85 Fixed process attaching for GDB 2014-05-22 17:11:54 +03:00
IdanArye
823bcb9c35 Fixed GDB's value setting problem 2014-05-19 19:57:36 +03:00
IdanArye
d4fd203d06 Fixed a bug in eval result reading in PDB 2014-05-18 02:22:39 +03:00
IdanArye
b35eb96727 Added documentation 2014-05-17 22:43:18 +03:00
IdanArye
fe16f3925c Added shell buffer support for JDB 2014-05-17 20:27:38 +03:00
IdanArye
9fae72d993 Added command execution for jdb 2014-05-17 19:57:01 +03:00
IdanArye
f53abcf723 Added statement execution for rdebug 2014-05-17 19:50:07 +03:00
IdanArye
b2b0550c46 Added statement execution for PDB 2014-05-17 19:41:32 +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
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
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
f7af3d4406 Added shell buffer support for rdebug
Also made it skip stops at external files
2014-05-16 18:25:45 +03:00
IdanArye
2d1c16a588 Added shell buffer support for PDB 2014-05-16 18:03:21 +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
7b28ed357e Added a PDB implementation 2014-05-14 22:57:47 +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
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
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
079aa3503f Added to jdb the option to specify custom command 2014-01-18 01:52:52 +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
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
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
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