Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
6c840b1
Fixed error on PUDBStatus
Oct 2, 2018
212e53d
Fix error on "no request handler registered for"
JeunghunKim Apr 7, 2019
572e22b
Fix "lineno * 10" error on PUDBStatus
JeunghunKim Apr 7, 2019
cd26d9c
Add BufNewFile autocmd for new python files
JeunghunKim Apr 22, 2019
3f4a010
Fix BufNewFile function name
JeunghunKim Apr 22, 2019
fd0ef66
Fix autocmd error
JeunghunKim Apr 22, 2019
672a9f8
Fix Autocmd problem
JeunghunKim Apr 22, 2019
49f85f1
Remove too many log messages
JeunghunKim Apr 23, 2019
25ebaeb
Fix PUDBClearAllBreakpoints command
JeunghunKim Apr 23, 2019
d476eef
Add Clear/Restore sign command
JeunghunKim Apr 23, 2019
b1fdac1
Add pudb_signify variable setter
JeunghunKim Apr 23, 2019
50f3d76
Add SignifyToggle options
JeunghunKim Apr 23, 2019
43b4662
Add Toggle pudb.vim sign command
JeunghunKim Apr 23, 2019
ba94754
Fix remove_sign function
JeunghunKim Apr 23, 2019
9f1a182
Fix PUDBClearAllBreakpoints clear only current buf
JeunghunKim Apr 24, 2019
8de6b5c
Fix code more pythonic
JeunghunKim Apr 24, 2019
ba62c7c
Fix _bps_placed key error
JeunghunKim Apr 24, 2019
981e869
Fix PUDBUpdateBreakPoints command behavior
JeunghunKim May 2, 2019
00842bf
Add self._toggle_status dictionary
JeunghunKim May 8, 2019
b784efe
Add self._toggle_status initialization
JeunghunKim May 8, 2019
193fb36
Add BufEnter behavior
JeunghunKim May 8, 2019
9a0ecb8
Fix toggle_all_signs function
JeunghunKim May 8, 2019
4bec455
Fix update_buffer function
JeunghunKim May 8, 2019
1ec8e21
Add self._toggle_status[key] for PUDBStatus
JeunghunKim May 8, 2019
f48872f
Add TextChanged, InsertLeave autocmd
JeunghunKim May 8, 2019
9a3c939
Fix launcher error in BufEnter code
JeunghunKim May 17, 2019
80d3704
Fix terminal error on text-changed/insert-leave
JeunghunKim May 28, 2019
e26512c
Fix terminal error on Buf NewFile/Read
JeunghunKim May 28, 2019
f885f6c
Fix all autocmd sync option to True
JeunghunKim May 28, 2019
9252f3e
[Fix]
winest Sep 30, 2019
95e4878
Merge pull request #1 from winest/master
JeunghunKim Oct 2, 2019
3f2d73a
Remove options for other plugins
JeunghunKim Oct 6, 2019
9223529
Add PUDBOnAllSigns command
JeunghunKim Oct 6, 2019
9e47198
Add PUDBOffAllSigns command
JeunghunKim Oct 6, 2019
91106c3
Fix opening error of pudb
JeunghunKim Oct 6, 2019
1f8b766
Add buf_initial code
JeunghunKim Oct 10, 2019
37b3509
Remove VENV related settings
JeunghunKim Oct 15, 2019
ba7cbc7
Update PUDBSetEntryPoint to toggle same buffer
JeunghunKim Oct 15, 2019
a0700db
Update __init__ method
JeunghunKim Nov 11, 2022
65c964a
Remove buf_initial, iter_breakpoints methods
JeunghunKim Nov 11, 2022
6de5a37
Update clear_all_bps method
JeunghunKim Nov 11, 2022
d70610f
Update PUDBToggleAllSigns
JeunghunKim Nov 11, 2022
1c42d87
Update PUDBOnAllSigns
JeunghunKim Nov 11, 2022
872b210
Update PUDBOffAllSigns
JeunghunKim Nov 11, 2022
54fbe14
Update methods
JeunghunKim Nov 11, 2022
7a6fab2
Add remove_bp_file method
JeunghunKim Nov 11, 2022
9478c1b
Update PUDBLaunchDebuggerTab
JeunghunKim Nov 11, 2022
1d79228
Update PUDBStatus
JeunghunKim Nov 11, 2022
1fce6ba
Update PUDBTobbleBreakPoint
JeunghunKim Nov 11, 2022
a307759
Update PUDBUpdateBreakPoints
JeunghunKim Nov 11, 2022
fe23785
Update aucocmd functions
JeunghunKim Nov 11, 2022
6529626
Remove signid function
JeunghunKim Nov 11, 2022
4cd33b9
Fix update error for breakpoint sings
JeunghunKim Nov 11, 2022
3ad8aa4
Add system function for check launcher version
JeunghunKim Nov 12, 2022
d8c3745
Add load_bp code for ToggleBP function
JeunghunKim Nov 12, 2022
442e9b7
Update autocmds
JeunghunKim Nov 12, 2022
8ea2596
Fix signcolumn update errors
JeunghunKim Nov 12, 2022
3c20919
Fix sign update error
JeunghunKim Nov 14, 2022
b1e4b0e
Fix error for pudb file removal
JeunghunKim Nov 14, 2022
4598d3e
Fix focus gain error
JeunghunKim Nov 14, 2022
c5023d3
Fix key error for new buffer
JeunghunKim Feb 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions plugin/pudb.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if !has('nvim')
endif
" TODO: move to command
if !exists("g:pudb_entry_point")
let g:pudb_entry_point='${HOME}/src/poweruser_tools/test/test_templates.py'
let g:pudb_entry_point=expand("%:p")
endif
if !exists("g:pudb_breakpoint_symbol")
let g:pudb_breakpoint_symbol='!'
Expand All @@ -30,7 +30,7 @@ if !has('nvim')
let g:pudb_highlight_group='debug'
endif
function! s:signid()
return 10*vim.eval("getline('.')")
return 10*int(vim.eval("line('.')"))
endfunction
execute 'sign' 'define' g:pudb_sign_name 'text='.g:pudb_breakpoint_symbol 'texthl='.g:pudb_highlight_group
augroup pudbbp
Expand All @@ -55,7 +55,7 @@ bps = pudb.settings.load_breakpoints()
for bp in bps:
if bp[0] != filename:
continue
line = vim.eval('getline(".")')
line = int(vim.eval('line(".")'))
sign_id = 10 * line
vim.command('sign place {} line={} name={} file={}'.format(
sign_id,
Expand Down Expand Up @@ -87,6 +87,7 @@ EOF
endfunction
command! LaunchDebuggerTab call s:LaunchDebugger()
function! s:LaunchDebugger()
echo "Remeber to add 'from pudb import set_trace; set_trace()' to your python"
execute 'tab' 'terminal' '++close' g:pudb_python_launcher g:pudb_entry_point
endfunction
endif
Loading