print "No command given!"
return
- #Add the breakpoints to the configuration
- conf = Configuration.Configuration()
- conf.load(".pygdb.conf")
- conf.breakpoints = []
- for bp in gdbBps:
- conf.addBreak(bp["file"], bp["lineno"], bp["cond"])
- conf.store(".pygdb.conf")
+ gdbWriteConfig()
vim.command("!python %s/pygdb.py --vim-servername %s %s &\n" % (pygdbdir, vim.eval("v:servername"), clientcmd))
else:
delExecutionLine()
+
+def gdbWriteConfig():
+
+ #Add the breakpoints to the configuration
+ conf = Configuration.Configuration()
+ conf.load(".pygdb.conf")
+ conf.breakpoints = []
+ for bp in gdbBps:
+ conf.addBreak(bp["file"], bp["lineno"], bp["cond"])
+ conf.store(".pygdb.conf")
+
+
>>
highlight ExecutionLine term=bold ctermbg=DarkGreen ctermfg=Black guibg=LightGreen guifg=Black