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
Alexey Balchunas
b9517ade8c
Do not use tags for callstack, only for current location. Otherwise, it's unusably slow.
2015-09-06 10:53:44 +07:00
Alexey Balchunas
d6513dfb88
Fixed a critical bug in source searching using tags
2015-09-05 23:42:48 +07:00
Alexey Balchunas
30218447f8
added an option to enable usage of tags
2015-09-05 23:42:48 +07:00
Alexey Balchunas
a1027767d4
The simple class name was calculated with prefixed '.' character
2015-09-05 23:42:42 +07:00
Idan Arye
94b08ebc03
Merge pull request #21 from bleshik/feature/use-tags
...
Use tags when searching for a source file for jdb
2015-09-05 18:30:08 +03:00
Idan Arye
8289c7c1d2
Merge pull request #20 from bleshik/feature/support-for-groovy
...
Support for Groovy
2015-09-05 18:29:56 +03:00
Alexey Balchunas
281e7505c3
Use tags when searching for a source file for jdb
2015-09-05 22:15:14 +07:00
Alexey Balchunas
06ae5e977e
Make package parsing work for groovy
2015-09-05 12:45:04 +07: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
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