Commit Graph

102 Commits

Author SHA1 Message Date
Idan Arye
2f88c8db15
Merge pull request #69 from kyouryuukunn/develop
Fixed a problem about the vim translated to Japanese
2018-09-25 02:05:54 +03:00
kyouryuukunn
5388d27938 Extracted to a function. 2018-09-15 16:21:09 +09:00
kyouryuukunn
0ad960d478 Fixed shellslash problems in Windows 2018-09-09 19:45:38 +09:00
kyouryuukunn
17f8dad2da Allow other languages 2018-09-09 07:08:05 +09:00
kyouryuukunn
4d522bdc6e Fixed a problem about the vim translated to Japanese 2018-09-08 21:03:49 +09:00
kyouryuukunn
db4e2d5cf3 Fixed windows path problem 2018-09-08 19:24:40 +09:00
Daniel L Morris
1c87c72d52
Merge branch 'develop' into node-inspect 2018-08-12 21:26:24 -05:00
Daniel Morris
61897f12db Add code for node inspect 2018-08-12 21:24:03 -05:00
Daniel Morris
70b5861b54 Change search replace 2018-07-19 09:38:38 -05:00
Daniel Morris
7a1bf4926e Just more code to support this 2018-07-19 00:25:26 -05:00
Daniel Morris
ece95a7b6e Make so debugger does break until a breakpoint 2018-07-10 08:48:25 -05:00
Daniel Morris
4694c8974c Just some intermediate stuff 2018-07-09 16:32:26 -05:00
Daniel Morris
c05655d79d Add node support 2018-07-05 10:32:48 -05:00
Ingo Heimbach
1f2553a71b Transform filenames to absolute paths when reading debugger locations
Before this commit, many debugger `where` functions transformed the
filename of the current debugger location to a path relative to vim's
current working directory. When the user changed the current working
directory in the meantime, the previously saved location could not
resolved any more and lead to errors. This commit fixes this problem by
storing absolute paths instead.
2018-06-25 16:44:09 +02:00
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
Anders Mårtensson
f1bdce4e69
add support for not providing extra args to jdb#attach 2018-04-11 16:16:36 +02:00
Anders Mårtensson
7d1703ca32
add support for attaching JDB to a running process 2018-04-11 15:56:47 +02:00
Ingo Heimbach
8842555cac The LLDB wrapper can handle None as output from the Python lldb module 2018-03-08 17:30:44 +01: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
Idan Arye
f2b00c8c61 Merge pull request #45 from daltonmatos/feature/hightlight-current-debugged-line
Highlight current executed line (bg=red fg=white)
2017-10-17 21:51:57 +03: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
Dalton Barreto
01326cc9be
Removing redundant variable l:one_path 2017-10-16 20:36:12 -02:00
Dalton Barreto
5865e3b28e
Adding support for srcpath as string or list 2017-10-16 20:11:15 -02:00
Dalton Barreto
4230773e7e
Add support for multi-srcpath
Now Vebugger can search for a sourcecode in multiple srcpath locations.
The first match is returned and it's the file Vebugger will show.
2017-10-16 12:06:08 -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
Ingo Heimbach
d78fa68a72 Improved locating the currently debugged program position
(the old algorithm had problems with double frees for example)
2016-11-05 18:37:06 +01:00
Ingo Heimbach
c7304dc1f1 LLDB only uses the python interpreter stored in
"g:vebugger_path_python_lldb"
Updated the documentation to explain why a special python variable is
needed for LLDB
2016-11-05 18:37:06 +01:00
Ingo Heimbach
5187166c44 ~/.lldbinit is executed 2016-11-05 18:37:06 +01:00
Ingo Heimbach
cd82aea820 Added macOS compatibility for the lldb extension 2016-11-05 18:37:06 +01:00
Ingo Heimbach
8897e79b75 Added the lldb debugger via the lldb python api 2016-11-05 18:37:06 +01:00
Ingo Heimbach
c1913b3994 Bugfix: The PDB where function is not aware of step outs 2016-11-05 10:28:59 +01:00
IdanArye
78893b6e5f Fix #25 set print pretty off and print array off in GDB 2016-02-20 18:02:00 +02: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
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