Ejemplo n.º 1
0
 def __loadDebuggerScript(self, scriptPathName):
     if not os.path.exists(scriptPathName):
         self.__handler.handleLog('Debugger script file not exists. %s' %(scriptPathName), wx.LOG_Error)
         return
     
     try:
         self.__handler.handleLoadDebuggerScriptBegin()
         self.__handler.handleLog('Load debugger script: %s' %(scriptPathName))
         
         scriptFile = DebuggerScriptFile(scriptPathName)
         ret, info = scriptFile.parse()
         if ret:
             self.__handler.handleLoadDebuggerScriptEnd(info)
         else:
             self.__handler.handleException(info)
     except Exception, e:
         self.__handler.handleException(e)
Ejemplo n.º 2
0
 def __loadDebuggerScript(self, scriptPathName):
     if not os.path.exists(scriptPathName):
         self.__handler.handleLog('Debugger script file not exists. %s' %(scriptPathName), wx.LOG_Error)
         return
     
     try:
         self.__handler.handleLoadDebuggerScriptBegin()
         self.__handler.handleLog('Load debugger script: %s' %(scriptPathName))
         
         scriptFile = DebuggerScriptFile(scriptPathName)
         ret, info = scriptFile.parse()
         if ret:
             self.__handler.handleLoadDebuggerScriptEnd(info)
         else:
             self.__handler.handleException(info)
     except Exception, e:
         self.__handler.handleException(e)
Ejemplo n.º 3
0
 def __saveDebuggerScript(self, scriptPathName, commandsInfo):
     scriptFile = DebuggerScriptFile(scriptPathName)
     scriptFile.save(commandsInfo)
Ejemplo n.º 4
0
 def __saveDebuggerScript(self, scriptPathName, commandsInfo):
     scriptFile = DebuggerScriptFile(scriptPathName)
     scriptFile.save(commandsInfo)