def fillConfiguration(self, conf):
raise NotImplemented()
- def updateValues(self, pos):
+ def updateValues(self, status, param):
raise NotImplemented()
def gdbLaunch():
global gdbBps, clientcmd
- clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd).strip()
+ clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd)
+
+ #Pressed esq?
+ if clientcmd == None:
+ clientcmd = ""
+ return
+
+ #Strip away white space
+ clientcmd = clientcmd.strip()
if clientcmd.strip()=="":
print "No command given!"
#We need the client command to expand the paths...
while clientcmd == "" or not cmdset:
- clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd).strip()
+ clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd)
+
+ if clientcmd == None:
+ clientcmd = ""
+ clientcmd = clientcmd.strip()
+
cmdset = True
#Get the dirs where executeable is in