haive.core.utils.debugkit.debug.enhanced¶

Enhanced Debugging Utilities

Provides icecream-style debugging with beautiful output and context detection.

Classes¶

EnhancedDebugger

Enhanced debugging with icecream-style output.

Functions¶

fallback_ice(*args)

Fallback icecream implementation when icecream is not available.

Module Contents¶

class haive.core.utils.debugkit.debug.enhanced.EnhancedDebugger[source]¶

Enhanced debugging with icecream-style output.

clear_history()[source]¶

Clear debug history.

Return type:

None

disable()[source]¶

Disable enhanced debugging.

Return type:

None

enable()[source]¶

Enable enhanced debugging.

Return type:

None

get_history(limit=None)[source]¶

Get debug history.

Parameters:

limit (int | None)

Return type:

list[dict[str, Any]]

ice(*args, **kwargs)[source]¶

Enhanced print debugging with context (icecream replacement).

Return type:

Any

haive.core.utils.debugkit.debug.enhanced.fallback_ice(*args)[source]¶

Fallback icecream implementation when icecream is not available.