cstjean / TraceCalls.jl

A debugging and profiling tool for Julia
Other
46 stars 4 forks source link

Condition checking #56

Open cstjean opened 7 years ago

cstjean commented 7 years ago

We could write a macro for checking that a condition holds post-hoc:

@check_arguments some_function some_condition_involving_the_arguments begin
    ... some code
end

This suggests a macro @with_args trace expression_using_args