020001b80915c58bed7f08f5e8da150446a3a442
13 import MainControlWindow
17 def launchDebugger(clientCmd
):
20 dbgterm
= GdbTerminal
.GdbTerminal(clientCmd
)
23 mainCtrlWnd
= MainControlWindow
.MainControlWindow(dbgterm
)
24 statusWnd
= StatusWindow
.StatusWindow(dbgterm
)
28 conf
= Configuration
.Configuration()
29 conf
.load(".pygdb.conf")
30 statusWnd
.applyConfiguration(conf
)
35 conf
= Configuration
.Configuration()
36 statusWnd
.fillConfiguration(conf
)
38 conf
.store(".pygdb.conf")
42 if __name__
== "__main__":
44 #Check if enough arguments are given
45 if len(sys
.argv
) <= 1:
46 print "Please give executeable to debug."
50 clientCmd
= string
.join(sys
.argv
[1:])
51 launchDebugger(clientCmd
)