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've noticed that I'm missing some calls which I want to grab with my dynamo:
In particular, I have a rand call:
functionexecute_MA!(step::MentalAct,
tree::ActiveBehaviorTree,
env::Environment)
# Here.
ret =rand(:mental_computation, step.fn, tree.globals, env, step.args...)
println("Just finished a mental computation!")
par =parent(tree, step)
par.semantics.ret[step.uuid] = ret
tree.executing_actions[step.uuid] =Completed()
end
which I know gets turned into an _apply_iterate. I have logging setup for these calls, as well as a mechanism which let's me instantiate a new HierarchicalTrace and recurse in.
@inlinefunction (tr::HierarchicalTrace)(fn::typeof(rand), addr::Address, call::Function, args...)
println("Randomness at $addr, call $call.")
n_tr =Trace()
ret =n_tr(call, args...)
tr.chm[addr] =CallSite(n_tr, call, args, ret)
return ret
end
but I never hit this call:
Randomness at step_arbiter, call step_arbiter.
Randomness at step_selection.
Randomness at execute_MA, call execute_MA!.
Just finished a mental computation!
I'm not sure how to hit this one?
This call occurs in another call (so it occurs in the n_tr(call, args...) - I'm not sure why that would matter.
The text was updated successfully, but these errors were encountered:
I've noticed that I'm missing some calls which I want to grab with my dynamo:
In particular, I have a
rand
call:which I know gets turned into an
_apply_iterate
. I have logging setup for these calls, as well as a mechanism which let's me instantiate a newHierarchicalTrace
and recurse in.but I never hit this call:
I'm not sure how to hit this one?
This call occurs in another call (so it occurs in the
n_tr(call, args...)
- I'm not sure why that would matter.The text was updated successfully, but these errors were encountered: