コード例 #1
0
    def __init__(self, parent):
        self._init_ctrls(parent)

        self.watches = WatchPanel(id=wxID_MDISOURCEFRAMEWATCHES,
                                  name='watches',
                                  parent=self.sashDebugger,
                                  pos=wxPoint(32, 48),
                                  size=wxSize(75, 23),
                                  style=0)

        from rpcproxy import CRPCProxy
        self.rs = CRPCProxy("http://127.0.0.1:8000")

        self.debugProxy = CDebuggerProxy(self)
        try:
            import entry
            entry.debugger.setDebuggerProxy(self.debugProxy)
        except ImportError:
            pass

        EVT_DEBUGGER_STOPPED(self, wxID_MDISOURCEFRAME, self.onDebuggerStoped)