| |
- __builtin__.object
-
- TracingBackend
- exceptions.Exception(exceptions.BaseException)
-
- TracingHasNotRunException
- TracingTimeoutException
- TracingUnexpectedResponseException
- TracingUnrecoverableException
- TracingUnsupportedException
class TracingBackend(__builtin__.object) |
| |
Methods defined here:
- Close(self)
- DumpMemory(self, timeout=30)
- Dumps memory.
Returns:
GUID of the generated dump if successful, None otherwise.
Raises:
TracingTimeoutException: If more than |timeout| seconds has passed
since the last time any data is received.
TracingUnrecoverableException: If there is a websocket error.
TracingUnexpectedResponseException: If the response contains an error
or does not contain the expected result.
- IsTracingSupported(*args, **kwargs)
- StartTracing(self, trace_options, custom_categories=None, timeout=10)
- When first called, starts tracing, and returns True.
If called during tracing, tracing is unchanged, and it returns False.
- StopTracing(self, trace_data_builder, timeout=30)
- Stops tracing and pushes results to the supplied TraceDataBuilder.
If this is called after tracing has been stopped, trace data from the last
tracing run is pushed.
- __init__(self, inspector_socket, is_tracing_running=False)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- is_tracing_running
|
|