Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(6)  |  Derive(0)  |  Import(6)
Debugger managing one or multiple processes at the same time.

Methods
=======

 * Process list:
   - addProcess(): add a new process
   - deleteProcess(): remove a process from the debugger

 * Wait for an event:(more...)

src/s/e/segvault-HEAD/fusil/ptrace/gdb.py   segvault(Download)
#!/usr/bin/env python
from ptrace import PtraceError
from ptrace.debugger import (PtraceDebugger, Application,
    ProcessExit, NewProcessEvent, ProcessSignal,
    ProcessExecution, ProcessError)
    def main(self):
        self.debugger = PtraceDebugger()
        try:
            self.runDebugger()
        except KeyboardInterrupt:

src/p/y/python-ptrace-0.7/gdb.py   python-ptrace(Download)
#!/usr/bin/env python
from __future__ import print_function
from ptrace import PtraceError
from ptrace.debugger import (PtraceDebugger, Application,
    ProcessExit, NewProcessEvent, ProcessSignal,
    def main(self):
        self.debugger = PtraceDebugger()
        try:
            self.runDebugger()
        except KeyboardInterrupt:

src/s/e/segvault-HEAD/fusil/ptrace/strace.py   segvault(Download)
#!/usr/bin/env python
from ptrace import PtraceError
from ptrace.debugger import (PtraceDebugger, Application,
    ProcessExit, ProcessSignal, NewProcessEvent, ProcessExecution)
from ptrace.syscall import SYSCALL_NAMES, SYSCALL_PROTOTYPES, FILENAME_ARGUMENTS
    def _main(self):
        self.debugger = PtraceDebugger()
        try:
            self.runDebugger()
        except ProcessExit, event:

src/p/y/python-ptrace-0.7/strace.py   python-ptrace(Download)
#!/usr/bin/env python
from __future__ import print_function
from ptrace import PtraceError
from ptrace.debugger import (PtraceDebugger, Application,
    ProcessExit, ProcessSignal, NewProcessEvent, ProcessExecution)
    def _main(self):
        self.debugger = PtraceDebugger()
        try:
            self.runDebugger()
        except ProcessExit as event:

src/s/e/segvault-HEAD/fusil/fusil/process/debugger.py   segvault(Download)
    from ptrace import PtraceError
    from ptrace.binding import ptrace_traceme
    from ptrace.debugger import (
        PtraceDebugger, DebuggerError as PtraceDebuggerError,
        ProcessExit, ProcessSignal, NewProcessEvent)
        if self.enabled:
            self.error("Use python-ptrace debugger")
            self.debugger = PtraceDebugger()
            if project.config.debugger_trace_forks:
                try:

src/f/u/fusil-1.5/fusil/process/debugger.py   fusil(Download)
    from ptrace import PtraceError
    from ptrace.binding import ptrace_traceme
    from ptrace.debugger import (
        PtraceDebugger, DebuggerError as PtraceDebuggerError,
        ProcessExit, ProcessSignal, NewProcessEvent)
        if self.enabled:
            self.error("Use python-ptrace debugger")
            self.debugger = PtraceDebugger()
            if project.config.debugger_trace_forks:
                try: