trace_function
Hook a function to capture its arguments, return value, and stack trace for simplified call-chain debugging.
Instructions
Trace a function: hook with capture preset [args, return, stack]. Convenience wrapper for call-chain debugging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| targetExpr | Yes | ||
| target | No |