Overwrite breakpoints when launching pygdb from vim, updating vim also after quit
[pygdb.git] / pygdb.vim
index ea552d307a0b130646770c4b4607a0de7527de64..d7b68e7b94563ced5612f7235fb88179fe412aac 100644 (file)
--- a/pygdb.vim
+++ b/pygdb.vim
@@ -39,6 +39,7 @@ def gdbLaunch():
        #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")