Starts a new process for debugging. This method uses a command line string. To use a list of arguments instead, use L{execv}. @see: L{attach}, L{detach} @type lpCmdLine: str @param lpCmdLine: Command line string to execute. The first t
(self, lpCmdLine, **kwargs)
| 349 | return self.execl(lpCmdLine, **kwargs) |
| 350 | |
| 351 | def execl(self, lpCmdLine, **kwargs): |
| 352 | """ |
| 353 | Starts a new process for debugging. |
| 354 | |
| 355 | This method uses a command line string. To use a list of arguments |
| 356 | instead, use L{execv}. |
| 357 | |
| 358 | @see: L{attach}, L{detach} |
| 359 | |
| 360 | @type lpCmdLine: str |
| 361 | @param lpCmdLine: Command line string to execute. |
| 362 | The first token must be the debugee executable filename. |
| 363 | Tokens with spaces must be enclosed in double quotes. |
| 364 | Tokens including double quote characters must be escaped with a |
| 365 | backslash. |
| 366 | |
| 367 | @type bBreakOnEntryPoint: bool |
| 368 | @keyword bBreakOnEntryPoint: C{True} to automatically set a breakpoint |
| 369 | at the program entry point. Defaults to C{False}. |
| 370 | |
| 371 | @type bConsole: bool |
| 372 | @keyword bConsole: True to inherit the console of the debugger. |
| 373 | Defaults to C{False}. |
| 374 | |
| 375 | @type bFollow: bool |
| 376 | @keyword bFollow: C{True} to automatically attach to child processes. |
| 377 | Defaults to C{False}. |
| 378 | |
| 379 | @type bInheritHandles: bool |
| 380 | @keyword bInheritHandles: C{True} if the new process should inherit |
| 381 | it's parent process' handles. Defaults to C{False}. |
| 382 | |
| 383 | @type bSuspended: bool |
| 384 | @keyword bSuspended: C{True} to suspend the main thread before any code |
| 385 | is executed in the debugee. Defaults to C{False}. |
| 386 | |
| 387 | @type dwParentProcessId: int or None |
| 388 | @keyword dwParentProcessId: C{None} or C{0} if the debugger process |
| 389 | should be the parent process (default), or a process ID to |
| 390 | forcefully set as the debugee's parent (only available for Windows |
| 391 | Vista and above). |
| 392 | |
| 393 | In hostile mode, the default is not the debugger process but the |
| 394 | process ID for "explorer.exe". |
| 395 | |
| 396 | @type iTrustLevel: int |
| 397 | @keyword iTrustLevel: Trust level. |
| 398 | Must be one of the following values: |
| 399 | - 0: B{No trust}. May not access certain resources, such as |
| 400 | cryptographic keys and credentials. Only available since |
| 401 | Windows XP and 2003, desktop editions. This is the default |
| 402 | in hostile mode. |
| 403 | - 1: B{Normal trust}. Run with the same privileges as a normal |
| 404 | user, that is, one that doesn't have the I{Administrator} or |
| 405 | I{Power User} user rights. Only available since Windows XP |
| 406 | and 2003, desktop editions. |
| 407 | - 2: B{Full trust}. Run with the exact same privileges as the |
| 408 | current user. This is the default in normal mode. |
no test coverage detected