]>
git.sthu.org Git - pygdb.git/blob - pygdb.py
13 import MainControlWindow
17 def launchDebugger(clientCmd
):
20 dbgterm
= GdbTerminal
.GdbTerminal(clientCmd
)
23 mainCtrlWnd
= MainControlWindow
.MainControlWindow(dbgterm
)
24 statusWnd
= StatusWindow
.StatusWindow(mainCtrlWnd
, dbgterm
)
28 conf
= Configuration
.Configuration()
29 conf
.load(".pygdb.conf")
30 statusWnd
.applyConfiguration(conf
)
35 conf
= Configuration
.Configuration()
36 statusWnd
.fillConfiguration(conf
)
37 conf
.store(".pygdb.conf")
41 if __name__
== "__main__":
43 #Check if enough arguments are given
44 if len(sys
.argv
) <= 1:
45 print "Please give executeable to debug."
49 clientCmd
= string
.join(sys
.argv
[1:])
50 launchDebugger(clientCmd
)