pass
+def updateVim():
+ os.system('gvim --servername pygdb --remote-send ":GDBLoadConfig<CR>"')
+
+
def relToAbsPath(absfile, relfile):
"""When an absfile is given and a relfile is given by
relative paths relative to absfile, determine the abs
self.fillConfiguration(conf)
conf.store(".pygdb.conf")
- os.system('gvim --servername pygdb --remote-send ":GDBLoadConfig<CR>"')
+ DbgTerminal.updateVim()
+
Smaller requests
- - vim: do not add breakpoints when pressing F5, just replace them all
- error when readreading the condition of breakpoints! (stop only if...)
(gdb) info breakpoints
import sys
import Configuration
+import DbgTerminal
import GdbTerminal
import MainControlWindow
import StatusWindow
statusWnd.fillConfiguration(conf)
conf.delCurrpos()
conf.store(".pygdb.conf")
+
+ DbgTerminal.updateVim()
#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")