14 import MainControlWindow
18 def launchDebugger(clientCmd
):
21 dbgterm
= GdbTerminal
.GdbTerminal(clientCmd
)
24 mainCtrlWnd
= MainControlWindow
.MainControlWindow(dbgterm
)
25 statusWnd
= StatusWindow
.StatusWindow(dbgterm
)
29 conf
= Configuration
.Configuration()
30 conf
.load(".pygdb.conf")
31 statusWnd
.applyConfiguration(conf
)
36 conf
= Configuration
.Configuration()
37 statusWnd
.fillConfiguration(conf
)
39 conf
.store(".pygdb.conf")
41 DbgTerminal
.updateVim()
45 if __name__
== "__main__":
47 #Check if enough arguments are given
48 if len(sys
.argv
) <= 1:
49 print "Please give executeable to debug."
53 clientCmd
= string
.join(sys
.argv
[1:])
54 launchDebugger(clientCmd
)