924 self.debuggerInterface.remoteEnvironment(envdict) |
924 self.debuggerInterface.remoteEnvironment(envdict) |
925 |
925 |
926 def remoteLoad(self, venvName, fn, argv, wd, env, autoClearShell=True, |
926 def remoteLoad(self, venvName, fn, argv, wd, env, autoClearShell=True, |
927 tracePython=False, autoContinue=True, forProject=False, |
927 tracePython=False, autoContinue=True, forProject=False, |
928 runInConsole=False, autoFork=False, forkChild=False, |
928 runInConsole=False, autoFork=False, forkChild=False, |
929 clientType="", enableCallTrace=False): |
929 clientType="", enableCallTrace=False, |
|
930 enableMultiprocess=False): |
930 """ |
931 """ |
931 Public method to load a new program to debug. |
932 Public method to load a new program to debug. |
932 |
933 |
933 @param venvName name of the virtual environment to be used |
934 @param venvName name of the virtual environment to be used |
934 @type str |
935 @type str |
960 @type bool |
961 @type bool |
961 @keyparam clientType client type to be used |
962 @keyparam clientType client type to be used |
962 @type str |
963 @type str |
963 @keyparam enableCallTrace flag indicating to enable the call trace |
964 @keyparam enableCallTrace flag indicating to enable the call trace |
964 function |
965 function |
|
966 @type bool |
|
967 @param enableMultiprocess flag indicating to perform multiprocess |
|
968 debugging |
965 @type bool |
969 @type bool |
966 """ |
970 """ |
967 self.__autoClearShell = autoClearShell |
971 self.__autoClearShell = autoClearShell |
968 |
972 |
969 if clientType not in self.getSupportedLanguages(): |
973 if clientType not in self.getSupportedLanguages(): |
990 runInConsole=runInConsole, venvName=venvName) |
994 runInConsole=runInConsole, venvName=venvName) |
991 |
995 |
992 self.setCallTraceEnabled("", enableCallTrace) |
996 self.setCallTraceEnabled("", enableCallTrace) |
993 self.remoteEnvironment(env) |
997 self.remoteEnvironment(env) |
994 |
998 |
995 self.debuggerInterface.remoteLoad(fn, argv, wd, tracePython, |
999 self.debuggerInterface.remoteLoad( |
996 autoContinue, autoFork, forkChild) |
1000 fn, argv, wd, tracePython, autoContinue, autoFork, forkChild, |
|
1001 enableMultiprocess=enableMultiprocess |
|
1002 ) |
997 self.debugging = True |
1003 self.debugging = True |
998 self.running = True |
1004 self.running = True |
999 self.__restoreBreakpoints() |
1005 self.__restoreBreakpoints() |
1000 self.__restoreWatchpoints() |
1006 self.__restoreWatchpoints() |
1001 |
1007 |