LIUZHCH / vimpdb

Automatically exported from code.google.com/p/vimpdb
0 stars 0 forks source link

Highlighting not working #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start debugging
2. Current line not hihglighted
3. Create breakpoint
4. Breakpoint not highlighted.

Mac bim on OS/X 10.6.7

Original issue reported on code.google.com by mship...@gmail.com on 18 May 2011 at 5:19

GoogleCodeExporter commented 8 years ago
I had the same problem. 
I had to execute the following commands:

highlight PdbCurrentLine guibg=DarkGreen ctermbg=Blue
highlight PdbBreakpoint guibg=DarkRed ctermbg=DarkRed
highlight PdbConditionalBreakpoint guibg=Purple ctermbg=Magenta
highlight PdbTemporaryBreakpoint guibg=SlateBlue ctermbg=LightBlue

later because they were overwritten by something else - may be by the 
colorscheme if it clears all highlights.
So I added them in ~/.vim/after/ftplugin/python_pdb_highlights.vim and they 
started working.
Note: you need the ftplugin, if you don't have it then put the file in 
~/.vim/after/

Original comment by inspell...@gmail.com on 1 Jun 2012 at 10:58