-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdebug.vim
47 lines (38 loc) · 1.78 KB
/
debug.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
" List breakpoints
eclipseaction debug_listBreakpoints org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.debug.ui.BreakpointView)
nnoremap <leader>mdB :debug_listBreakpoints<cr>
vnoremap <leader>mdB :debug_listBreakpoints<cr>
" Toggle breakpoint
eclipseaction debug_toggleBreakpoint org.eclipse.debug.ui.commands.ToggleBreakpoint
nnoremap <leader>mdb :debug_toggleBreakpoint<cr>
" Clear all breakpoints
eclipseaction debug_clearAllBreakpoints org.eclipse.debug.ui.commands.RemoveAllBreakpoints
nnoremap <leader>mdC :debug_clearAllBreakpoints<cr>
" Continue (Go to next breakpoint)
eclipseaction debug_continue org.eclipse.debug.ui.commands.Resume
nnoremap <leader>mdc :debug_continue<cr>
vnoremap <leader>mdc :debug_continue<cr>
" Debug
eclipseaction debug_debug org.eclipse.debug.ui.commands.DebugLast
nnoremap <leader>mdd :debug_debug<cr>
vnoremap <leader>mdd :debug_debug<cr>
" Kill execution
eclipseaction debug_kill org.eclipse.debug.ui.commands.Terminate
nnoremap <leader>mdk :debug_kill<cr>
vnoremap <leader>mdk :debug_kill<cr>
" Next (Step over)
eclipseaction debug_next org.eclipse.debug.ui.commands.StepOver
nnoremap <leader>mdn :debug_next<cr>
vnoremap <leader>mdn :debug_next<cr>
" Step out (same as "finish" in gdb)
eclipseaction debug_out org.eclipse.debug.ui.commands.StepReturn
nnoremap <leader>mdo :debug_out<cr>
vnoremap <leader>mdo :debug_out<cr>
" Select debug configuration
eclipseaction debug_configuration org.eclipse.debug.ui.commands.OpenDebugConfigurations
nnoremap <leader>mdr :debug_configuration<cr>
vnoremap <leader>mdr :debug_configuration<cr>
" Step (Step into)
eclipseaction debug_step org.eclipse.debug.ui.commands.StepInto
nnoremap <leader>mds :debug_step<cr>
vnoremap <leader>mds :debug_step<cr>