Package vtrace :: Package platforms :: Package darwin :: Class DarwinMixin
[hide private]
[frames] | no frames]

Class DarwinMixin

source code


Instance Methods [hide private]
 
__init__(self)
Setup for the fact that we support signal driven debugging on posix platforms
source code
 
platformPs(self) source code
 
platformParseBinary(self, filename, baseaddr, normname) source code
 
platformGetFds(self) source code
 
platformExec(self, cmdline) source code
 
_getThreadPorts(self) source code
 
platformSuspendThread(self, tid) source code
 
platformResumeThread(self, tid) source code
 
platformGetThreads(self) source code
 
platformGetMaps(self) source code
 
handlePosixSignal(self, sig)
Handle a basic posix signal for this trace.
source code
 
platformProcessEvent(self, event)
Handle a mach exception message
source code
 
platformAttach(self, pid) source code
 
taskForPid(self, pid) source code
 
newMachPort(self, right) source code
 
newMachRWPort(self) source code
 
addPortToSet(self, port) source code
 
setExceptionPort(self) source code
 
_getNextExc(self, timeout=None) source code
 
platformWait(self) source code
 
sendExcResp(self, exc, maskexc=False) source code
 
buildExcResp(self, exc, maskexc=False) source code
 
platformStepi(self) source code
 
platformContinue(self) source code
 
macptrace(self, request, pid, addr, data, zok=True) source code
 
platformDetach(self) source code
 
platformReadMemory(self, address, size) source code
 
platformWriteMemory(self, address, data) source code

Inherited from posix.PosixMixin: handleAttach, platformKill, platformSendBreak, sendSignal

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Setup for the fact that we support signal driven debugging on posix platforms

Overrides: posix.PtraceMixin.__init__
(inherited documentation)

platformExec(self, cmdline)

source code 
Overrides: posix.PtraceMixin.platformExec

handlePosixSignal(self, sig)

source code 

Handle a basic posix signal for this trace. This was seperated from platformProcessEvent so extenders could skim events and still use this logic.

Overrides: posix.PosixMixin.handlePosixSignal
(inherited documentation)

platformProcessEvent(self, event)

source code 

Handle a mach exception message

Overrides: posix.PosixMixin.platformProcessEvent

platformWait(self)

source code 
Overrides: posix.PosixMixin.platformWait

platformWriteMemory(self, address, data)

source code 
Overrides: posix.PtraceMixin.platformWriteMemory