haive.core.utils.debugkit.tracing.executionΒΆ
Code Tracing and Inspection Utilities
Provides powerful tracing capabilities for understanding code execution flow, function calls, variable changes, and performance bottlenecks.
ClassesΒΆ
Track function calls and execution flow. |
|
Enhanced tracing utilities with multiple backends. |
|
Track variable changes during execution. |
Module ContentsΒΆ
- class haive.core.utils.debugkit.tracing.execution.CallTracker[source]ΒΆ
Track function calls and execution flow.
- add_filter(pattern)[source]ΒΆ
Add a filter pattern for calls to track.
- Parameters:
pattern (str)
- Return type:
None
- remove_filter(pattern)[source]ΒΆ
Remove a filter pattern.
- Parameters:
pattern (str)
- Return type:
None
- track_call(func)[source]ΒΆ
Decorator to track function calls.
- Parameters:
func (collections.abc.Callable)
- Return type:
- class haive.core.utils.debugkit.tracing.execution.TracingUtilities[source]ΒΆ
Enhanced tracing utilities with multiple backends.
- calls(func=None, filters=None)[source]ΒΆ
Trace function calls.
- Parameters:
func (collections.abc.Callable | None)
- Return type:
- hunt(condition='call', **kwargs)[source]ΒΆ
Use hunter for advanced tracing if available.
- Parameters:
condition (str)
- Return type:
None
- profile_calls(func)[source]ΒΆ
Profile function calls with detailed timing.
- Parameters:
func (collections.abc.Callable)
- Return type:
- snoop(func=None, **kwargs)[source]ΒΆ
Trace function execution with pysnooper if available.
- Parameters:
func (collections.abc.Callable | None)
- Return type: