+def launchDebugger(clientCmd, quitonclose=True):
+
+
+
+ def hideWindows():
+ #Kill the debugger
+ dbgterm.stopDbg()
+
+ mainCtrlWnd.destroy()
+ statusWnd.destroy()
+ gtk.main_quit()
+
+
+
+ #Determine the closing callback func
+ if quitonclose:
+ destroycb = gtk.main_quit
+ else:
+ destroycb = hideWindows
+