You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a useful function in the Postmortem that provides the local variables of a function. It's really useful for trying to understand the local context of the function. Would you consider adding a feature to debux?
A new option called :locals provides any local vars.
In Postmortem there's a specific function called debug, see the link for an example. Hash-meta has played with some interesting ideas and its implementation does this:
{:locals {}, :result 23, :form (+ 3 (* 4 5))}
The only way I could figure out how to do this with debux at the moment was to specifically call the vars in a dbg such as (dbg [fname height weight i])
The text was updated successfully, but these errors were encountered:
I found a useful function in the Postmortem that provides the local variables of a function. It's really useful for trying to understand the local context of the function. Would you consider adding a feature to debux?
For example, something like this:
A new option called
:locals
provides any local vars.In Postmortem there's a specific function called debug, see the link for an example. Hash-meta has played with some interesting ideas and its implementation does this:
The only way I could figure out how to do this with debux at the moment was to specifically call the vars in a dbg such as
(dbg [fname height weight i])
The text was updated successfully, but these errors were encountered: