global gdbterm, mainctrlwnd, statuswnd, gdbBps, clientcmd, gdbthread
- clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd)
+ clientcmd = vim.eval("input('Client commando: ', '%s')" % clientcmd).strip()
+
+
+ if clientcmd.strip()=="":
+ print "No command given!"
+ return
+
gdbterm, mainctrlwnd, statuswnd = pygdb.launchDebugger(clientcmd, False)
for bp in gdbBps: