bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def OnMoveRight(self, event): sel = self.selection if sel and sel.selection != self: sel.position.x = sel.position.x + 1 sel.startPos.x = sel.startPos.x + 1 sel.resizeCtrl() sel.setSelection() | def OnMoveRight(self, event): sel = self.selection if sel and sel.selection != self: sel.position.x = sel.position.x + 1 sel.startPos.x = sel.startPos.x + 1 sel.resizeCtrl() sel.setSelection() | 30,100 |
def OnMoveUp(self, event): sel = self.selection if sel and sel.selection != self: sel.position.y = sel.position.y - 1 sel.startPos.y = sel.startPos.y - 1 sel.resizeCtrl() sel.setSelection() | def OnMoveUp(self, event): sel = self.selection if sel and sel.selection != self: sel.position.y = sel.position.y - 1 sel.startPos.y = sel.startPos.y - 1 sel.resizeCtrl() sel.setSelection() | 30,101 |
def OnWidthInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x + 1 sel.startSize.x = sel.startSize.x + 1 sel.resizeCtrl() sel.setSelection() | def OnWidthInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x + 1 sel.startSize.x = sel.startSize.x + 1 sel.resizeCtrl() sel.setSelection() | 30,102 |
def OnWidthInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x + 1 sel.startSize.x = sel.startSize.x + 1 sel.resizeCtrl() sel.setSelection() | def OnWidthInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x + 1 sel.startSize.x = sel.startSize.x + 1 sel.resizeCtrl() sel.setSelection() | 30,103 |
def OnWidthDec(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x - 1 sel.startSize.x = sel.startSize.x - 1 sel.resizeCtrl() sel.setSelection() | def OnWidthDec(self, event): sel = self.selection if sel and sel.selection != self and sel.size.x > 0: sel.size.x = sel.size.x - 1 sel.startSize.x = sel.startSize.x - 1 sel.resizeCtrl() sel.setSelection() | 30,104 |
def OnWidthDec(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x - 1 sel.startSize.x = sel.startSize.x - 1 sel.resizeCtrl() sel.setSelection() | def OnWidthDec(self, event): sel = self.selection if sel and sel.selection != self: sel.size.x = sel.size.x - 1 sel.startSize.x = sel.startSize.x - 1 sel.resizeCtrl() sel.setSelection() | 30,105 |
def OnHeightInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.y = sel.size.y + 1 sel.startSize.y = sel.startSize.y + 1 sel.resizeCtrl() sel.setSelection() | def OnHeightInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.y = sel.size.y + 1 sel.startSize.y = sel.startSize.y + 1 sel.resizeCtrl() sel.setSelection() | 30,106 |
def OnHeightInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.y = sel.size.y + 1 sel.startSize.y = sel.startSize.y + 1 sel.resizeCtrl() sel.setSelection() | def OnHeightInc(self, event): sel = self.selection if sel and sel.selection != self: sel.size.y = sel.size.y + 1 sel.startSize.y = sel.startSize.y + 1 sel.resizeCtrl() sel.setSelection() | 30,107 |
def refreshCtrl(self): #if self.opened: return | def refreshCtrl(self): #if self.opened: return | 30,108 |
def refreshCtrl(self): #if self.opened: return | def refreshCtrl(self): #if self.opened: return | 30,109 |
def refreshCtrl(self): #if self.opened: return | def refreshCtrl(self): #if self.opened: return | 30,110 |
def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': # StatusBar sb = self.control.GetStatusBar() | def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': # StatusBar sb = self.control.GetStatusBar() | 30,111 |
def updatePosAndSize(self): ContainerDTC.updatePosAndSize(self) # Argh, this is needed so that ClientSize is up to date # XXX Delete links to frame bars so client size is accurate self.control.SetToolBar(None) self.control.SetStatusBar(None) self.control.SetMenuBar(None) if self.textPropList: for prop in self.textPropL... | def updatePosAndSize(self): ContainerDTC.updatePosAndSize(self) # Argh, this is needed so that ClientSize is up to date # XXX Delete links to frame bars so client size is accurate self.control.SetToolBar(None) self.control.SetStatusBar(None) if wxPlatform != '__WXGTK__': self.control.SetMenuBar(None) if self.textPropLi... | 30,112 |
def SetDefaultSize(self, size): if self.control: self.control.SetSize(size) wxLayoutAlgorithm().LayoutWindow(self.control) | def SetDefaultSize(self, size): if self.control: self.control.SetSize(size) wxLayoutAlgorithm().LayoutWindow(self.control) | 30,113 |
def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': if `self.control.GetTargetWindow()` == `compn.control`: self.propRevertToDefault('TargetWindow', 'SetTargetWindow') self.control.SetTargetWindow(self.control) | def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': if self.control.GetTargetWindow() == compn.control: self.propRevertToDefault('TargetWindow', 'SetTargetWindow') self.control.SetTargetWindow(self.control) | 30,114 |
def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': if `self.control.GetImageList()` == `compn.control`: self.propRevertToDefault('ImageList', 'SetImageList') self.control.SetImageList(None) | def notification(self, compn, action): ContainerDTC.notification(self, compn, action) if action == 'delete': if self.control.GetImageList() == compn.control: self.propRevertToDefault('ImageList', 'SetImageList') self.control.SetImageList(None) | 30,115 |
def writeCollectionItems(self, output): CollectionDTC.writeCollectionItems(self, output) warn = 0 for constr in self.textConstrLst: if constr.params['pPage'] == 'None': wxLogWarning('No control for %s, page %s'%( self.parentCompanion.name, constr.params['strText'])) warn = 1 if warn: wxLogWarning('The red-dashed area o... | def writeCollectionItems(self, output, stripFrmId=''): CollectionDTC.writeCollectionItems(self, output, stripFrmId) warn = 0 for constr in self.textConstrLst: if constr.params['pPage'] == 'None': wxLogWarning('No control for %s, page %s'%( self.parentCompanion.name, constr.params['strText'])) warn = 1 if warn: wxLogWar... | 30,116 |
def persistProp(self, name, setterName, value): """ When attempting to persist the Window properties and the SplitMode property, add, or update a previously defined SplitVertically or SplitHorizontally method.""" | def persistProp(self, name, setterName, value): """ When attempting to persist the Window properties and the SplitMode property, add, or update a previously defined SplitVertically or SplitHorizontally method.""" | 30,117 |
def defaultAction(self): insp = self.designer.inspector insp.pages.SetSelection(2) insp.events.doAddEvent('ListBoxEvent', 'EVT_LISTBOX') | def defaultAction(self): insp = self.designer.inspector insp.pages.SetSelection(2) insp.events.doAddEvent('ListBoxEvent', 'EVT_LISTBOX') | 30,118 |
def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors['Fields'] = CollectionPropEdit self.subCompanions['Fields'] = StatusBarFieldsCDTC self.windowStyles = ['wxSB_SIZEGRIP'] + self.windowStyles | def __init__(self, name, designer, parent, ctrlClass): ContainerDTC.__init__(self, name, designer, parent, ctrlClass) self.editors['Fields'] = CollectionPropEdit self.subCompanions['Fields'] = StatusBarFieldsCDTC self.windowStyles = ['wxSB_SIZEGRIP'] + self.windowStyles | 30,119 |
def __init__(self, parent, flist, debugger): wxListCtrl.__init__(self, parent, wxID_STACKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Frame', wxLIST_FORMAT_LEFT, 150) self.InsertColumn(1, 'Line', wxLIST_FORMAT_LEFT, 35) self.InsertColumn(2, 'Code', wxLIST_FORMAT_LEFT, 300) EVT_LIST_ITEM_SELECTED(... | def __init__(self, parent, flist, debugger): wxListCtrl.__init__(self, parent, wxID_STACKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Frame', wxLIST_FORMAT_LEFT, 150) self.InsertColumn(1, 'Line', wxLIST_FORMAT_LEFT, 35) self.InsertColumn(2, 'Code', wxLIST_FORMAT_LEFT, 300) EVT_LIST_ITEM_SELECTED(... | 30,120 |
def __init__(self, parent, flist, debugger): wxListCtrl.__init__(self, parent, wxID_STACKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Frame', wxLIST_FORMAT_LEFT, 150) self.InsertColumn(1, 'Line', wxLIST_FORMAT_LEFT, 35) self.InsertColumn(2, 'Code', wxLIST_FORMAT_LEFT, 300) EVT_LIST_ITEM_SELECTED(... | def __init__(self, parent, flist, debugger): wxListCtrl.__init__(self, parent, wxID_STACKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Frame', wxLIST_FORMAT_LEFT, 150) self.InsertColumn(1, 'Line', wxLIST_FORMAT_LEFT, 35) self.InsertColumn(2, 'Code', wxLIST_FORMAT_LEFT, 300) EVT_LIST_ITEM_SELECTED(... | 30,121 |
def load_stack(self, stack, index=None): self.stack = stack self.DeleteAllItems() | def load_stack(self, stack, index=None): self.stack = stack self.DeleteAllItems() | 30,122 |
def OnStackItemSelected(self, event): self.selection = event.m_itemIndex | def OnStackItemSelected(self, event): self.selection = event.m_itemIndex | 30,123 |
def OnStackItemDeselected(self, event): self.selection = -1 | def OnStackItemDeselected(self, event): self.selection = -1 | 30,124 |
def OnGotoSource(self, event): if self.selection != -1: frame, lineno = self.stack[self.selection] try: modname = frame.f_globals['__name__'] except: return | def OnGotoSource(self, event): if self.selection != -1: frame, lineno = self.stack[self.selection] try: modname = frame.f_globals['__name__'] except: return | 30,125 |
def getexception(type=None, value=None): if type is None: type = sys.last_type value = sys.last_value if hasattr(type, "__name__"): type = type.__name__ s = str(type) if value is not None: s = s + ": " + str(value) return s | def getexception(type=None, value=None): if type is None: type = sys.last_type value = sys.last_value if hasattr(type, "__name__"): type = type.__name__ s = str(type) if value is not None: s = s + ": " + str(value) return s | 30,126 |
def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | 30,127 |
def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | 30,128 |
def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | 30,129 |
def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | def __init__(self, parent, debugger):#, flist, browser): wxListCtrl.__init__(self, parent, wxID_BREAKVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Module', wxLIST_FORMAT_LEFT, 90) self.InsertColumn(1, 'Line', wxLIST_FORMAT_CENTER, 40) self.InsertColumn(2, 'Ignore', wxLIST_FORMAT_CENTER, 45) self.I... | 30,130 |
def destroy(self): self.menu.Destroy() | def destroy(self): self.menu.Destroy() | 30,131 |
def bpList(self): bpl = [] for bp in bdb.Breakpoint.bpbynumber: if bp: bpl.append(bp) return bpl | def bpList(self): bpl = [] for bp in bdb.Breakpoint.bpbynumber: if bp: bpl.append(bp) return bpl | 30,132 |
def refreshList(self): self.selection = -1 self.DeleteAllItems() for bp in self.bpList(): p = self.GetItemCount() imgIdx = 0 if not bp.enabled: imgIdx = 2 elif bp.temporary: imgIdx = 3 | def refreshList(self): self.selection = -1 self.DeleteAllItems() for bp in self.bpList(): p = self.GetItemCount() imgIdx = 0 if not bp.enabled: imgIdx = 2 elif bp.temporary: imgIdx = 3 | 30,133 |
def OnBreakpointSelected(self, event): self.selection = event.m_itemIndex | def OnBreakpointSelected(self, event): self.selection = event.m_itemIndex | 30,134 |
def OnBreakpointDeselected(self, event): self.selection = -1 | def OnBreakpointDeselected(self, event): self.selection = -1 | 30,135 |
def OnDelete(self, event): if self.selection != -1: bp = self.bpList()[self.selection] self.debugger.clear_break(bp.file, bp.line) self.refreshList() | def OnDelete(self, event): if self.selection != -1: bp = self.bpList()[self.selection] self.debugger.clear_break(bp.file, bp.line) self.refreshList() | 30,136 |
def OnToggleEnabled(self, event): if self.selection != -1: bp = self.bpList()[self.selection] bp.enabled = not bp.enabled self.refreshList() | def OnToggleEnabled(self, event): if self.selection != -1: bp = self.bpList()[self.selection] bp.enabled = not bp.enabled self.refreshList() | 30,137 |
def OnRightClick(self, event): if self.selection != -1: self.menu.Check(wxID_BREAKENABLED, self.bpList()[self.selection].enabled) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | def OnRightClick(self, event): if self.selection != -1: self.menu.Check(wxID_BREAKENABLED, self.bpList()[self.selection].enabled) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | 30,138 |
def OnRightClick(self, event): if self.selection != -1: self.menu.Check(wxID_BREAKENABLED, self.bpList()[self.selection].enabled) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | def OnRightClick(self, event): if self.selection != -1: self.menu.Check(wxID_BREAKENABLED, self.bpList()[self.selection].enabled) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | 30,139 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,140 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,141 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,142 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,143 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,144 |
def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, add_watch, is_local, name, dict=None): wxListCtrl.__init__(self, parent, wxID_NSVIEW, style = wxLC_REPORT | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,145 |
def load_dict(self, dict, force=0): if dict is self.dict and not force: return | def load_dict(self, dict, force=0): if dict is self.dict and not force: return | 30,146 |
def load_dict(self, dict, force=0): if dict is self.dict and not force: return | def load_dict(self, dict, force=0): if dict is self.dict and not force: return | 30,147 |
def load_dict(self, dict, force=0): if dict is self.dict and not force: return | def load_dict(self, dict, force=0): if dict is self.dict and not force: return | 30,148 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,149 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,150 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,151 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,152 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,153 |
def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | def __init__(self, parent, images, debugger): wxListCtrl.__init__(self, parent, wxID_WATCHVIEW, style = wxLC_REPORT)# | wxLC_SINGLE_SEL ) self.InsertColumn(0, 'Attribute', wxLIST_FORMAT_LEFT, 125) self.InsertColumn(1, 'Value', wxLIST_FORMAT_LEFT, 200) | 30,154 |
def getSelection(self): res = [] for idx in range(self.GetItemCount()): item = self.GetItem(idx) if item.GetState() & wxLIST_STATE_SELECTED: res.append(idx) return res | def getSelection(self): res = [] for idx in range(self.GetItemCount()): item = self.GetItem(idx) if item.GetState() & wxLIST_STATE_SELECTED: res.append(idx) return res | 30,155 |
def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | 30,156 |
def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | 30,157 |
def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | def add_watch(self, name, local): if name: self.watches.append([name, local]) else: dlg = wxTextEntryDialog(self, 'Enter name:', 'Add a watch:', '') try: if dlg.ShowModal() == wxID_OK: self.watches.append([dlg.GetValue(), local]) finally: dlg.Destroy() | 30,158 |
def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | 30,159 |
def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | 30,160 |
def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | def load_dict(self, localsDict, globalsDict, force=0): self.DeleteAllItems() row = 0 for name, local in self.watches: if local: try: value = self.repr.repr(localsDict[name]) except: try: value = eval(name, globalsDict, localsDict) except Exception, message: value = '??? (%s)' % message idx = 3 else: try: value = self.r... | 30,161 |
def OnEdit(self, event): watch = self.watches[self.selected] dlg = wxTextEntryDialog(self, 'Current expression:', 'Edit watch:', watch[0]) try: if dlg.ShowModal() == wxID_OK: del self.watches[self.selected] self.watches.insert(self.selected, [dlg.GetValue(), watch[1]] ) self.debugger.show_variables() finally: dlg.Destr... | def OnEdit(self, event): watch = self.watches[self.selected] dlg = wxTextEntryDialog(self, 'Current expression:', 'Edit watch:', watch[0]) try: if dlg.ShowModal() == wxID_OK: del self.watches[self.selected] self.watches.insert(self.selected, [dlg.GetValue(), watch[1]] ) self.debugger.show_variables() finally: dlg.Destr... | 30,162 |
def OnEdit(self, event): watch = self.watches[self.selected] dlg = wxTextEntryDialog(self, 'Current expression:', 'Edit watch:', watch[0]) try: if dlg.ShowModal() == wxID_OK: del self.watches[self.selected] self.watches.insert(self.selected, [dlg.GetValue(), watch[1]] ) self.debugger.show_variables() finally: dlg.Destr... | def OnEdit(self, event): watch = self.watches[self.selected] dlg = wxTextEntryDialog(self, 'Current expression:', 'Edit watch:', watch[0]) try: if dlg.ShowModal() == wxID_OK: del self.watches[self.selected] self.watches.insert(self.selected, [dlg.GetValue(), watch[1]] ) self.debugger.show_variables() finally: dlg.Destr... | 30,163 |
def OnRightClick(self, event): if self.selected != -1: local = self.watches[self.selected][1] self.menu.Check(self.localId, local) self.menu.Check(self.globalId, not local) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | def OnRightClick(self, event): if self.selected != -1: local = self.watches[self.selected][1] self.menu.Check(self.localId, local) self.menu.Check(self.globalId, not local) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | 30,164 |
def OnRightClick(self, event): if self.selected != -1: local = self.watches[self.selected][1] self.menu.Check(self.localId, local) self.menu.Check(self.globalId, not local) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | def OnRightClick(self, event): if self.selected != -1: local = self.watches[self.selected][1] self.menu.Check(self.localId, local) self.menu.Check(self.globalId, not local) self.PopupMenu(self.menu, wxPoint(self.x, self.y)) | 30,165 |
def OnEvalLocal(self, event): if self.selected != -1: for idx in self.getSelection(): self.watches[idx][1] = true self.debugger.show_variables() | def OnEvalLocal(self, event): if self.selected != -1: for idx in self.getSelection(): self.watches[idx][1] = true self.debugger.show_variables() | 30,166 |
def OnEvalGlobal(self, event): if self.selected != -1: for idx in self.getSelection(): self.watches[idx][1] = false self.debugger.show_variables() | def OnEvalGlobal(self, event): if self.selected != -1: for idx in self.getSelection(): self.watches[idx][1] = false self.debugger.show_variables() | 30,167 |
def OnAdd(self, event): self.add_watch('', true) self.debugger.show_variables() | def OnAdd(self, event): self.add_watch('', true) self.debugger.show_variables() | 30,168 |
def __init__(self, parent): wxStatusBar.__init__(self, parent, -1) self.SetFieldsCount(2) | def __init__(self, parent): wxStatusBar.__init__(self, parent, -1) self.SetFieldsCount(2) | 30,169 |
def __init__(self, parent): wxStatusBar.__init__(self, parent, -1) self.SetFieldsCount(2) | def __init__(self, parent): wxStatusBar.__init__(self, parent, -1) self.SetFieldsCount(2) | 30,170 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight + Preferences.windowManagerTop + \ Preferences.windowManagerBottom), wxSize(Preferences.inspWidth, Prefe... | 30,171 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,172 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,173 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,174 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,175 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,176 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,177 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,178 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,179 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,180 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,181 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,182 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,183 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,184 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,185 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,186 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,187 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,188 |
def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | def __init__(self, model, stack = None): bdb.Bdb.__init__(self) wxFrame.__init__(self, model.editor, -1, 'Debugger - %s - %s' \ % (path.basename(model.filename), model.filename), wxPoint(0, Preferences.paletteHeight), wxSize(Preferences.inspWidth, Preferences.bottomHeight)) | 30,189 |
def add_watch(self, name, local): self.watches.add_watch(name, local) self.nbBottom.SetSelection(0) self.show_variables() | def add_watch(self, name, local): self.watches.add_watch(name, local) self.nbBottom.SetSelection(0) self.show_variables() | 30,190 |
def expand_watch(self, name, local): inst_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals)) clss_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals).__class__) for item in inst_items + clss_items: self.watches.add_watch('%s.%s' %(name, item), local) self.nbBottom.SetSelection(0) self.show... | def expand_watch(self, name, local): inst_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals)) clss_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals).__class__) for item in inst_items + clss_items: self.watches.add_watch('%s.%s' %(name, item), local) self.nbBottom.SetSelection(0) self.show... | 30,191 |
def expand_watch(self, name, local): inst_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals)) clss_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals).__class__) for item in inst_items + clss_items: self.watches.add_watch('%s.%s' %(name, item), local) self.nbBottom.SetSelection(0) self.show... | def expand_watch(self, name, local): inst_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals)) clss_items = dir(eval(name, self.frame.f_globals, self.frame.f_locals).__class__) for item in inst_items + clss_items: self.watches.add_watch('%s.%s' %(name, item), local) self.nbBottom.SetSelection(0) self.show... | 30,192 |
def show_variables(self, force=0): frame = self.frame if not frame: ldict = gdict = None else: ldict = frame.f_locals gdict = frame.f_globals if self.locs and self.globs and ldict is gdict: ldict = None if self.locs: self.locs.load_dict(ldict, force) if self.globs: self.globs.load_dict(gdict, force) self.watches.load_... | def show_variables(self, force=0): frame = self.frame if not frame: ldict = gdict = None else: ldict = frame.f_locals gdict = frame.f_globals if self.locs and self.globs and ldict is gdict: ldict = None if self.locs: self.locs.load_dict(ldict, force) if self.globs: self.globs.load_dict(gdict, force) self.watches.load_... | 30,193 |
def show_frame(self, (frame, lineno)): self.frame = frame self.show_variables() | def show_frame(self, (frame, lineno)): self.frame = frame self.show_variables() | 30,194 |
def startMainLoop(self): self.app.MainLoop() self.mlc = self.mlc + 1 | def startMainLoop(self): self.app.MainLoop() self.mlc = self.mlc + 1 | 30,195 |
def stopMainLoop(self): self.app.ExitMainLoop() self.mlc = self.mlc - 1 | def stopMainLoop(self): self.app.ExitMainLoop() self.mlc = self.mlc - 1 | 30,196 |
def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | 30,197 |
def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | 30,198 |
def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | def debug_file(self, filename, params = None): filename = path.join(pyPath, filename) saveout = sys.stdout saveerr = sys.stderr if params is None: params = [] | 30,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.