Main API
This page collates the main API functions. Other reference files contain further details that may or may not be relevant to typical users.
Probing API
The preferred API to Ptera’s functionality. It is the most powerful.
Context manager for probing |
|
Create a global probe |
|
Probe class returned by probing and global_probe |
Overlay API
The Overlay API is more low level than the probing API (the latter uses the former under the hood).
Transform a function to report variable changes |
|
|
Return whether a function is tooled or not |
Automatically tool inplace all functions a selector refers to |
|
Simple context manager to apply handlers corresponding to selectors |
|
A BaseOverlay with extra functionality |
|
A handler that triggers when the focus variable is set |
|
A handler that triggers when the outer scope for a selector ends |
Low level API
Parse a string into a |
|
Transform a function to filter its behavior |