I don't know whether that is mentioned in those issues but one trick is
to have a function fabricating the expression and call that in the
macro:

mymacro_fn(args...) = ...
macro mymacro(args...)
    mymacro_fn(args...)
end

If something goes wrong debug it with calling the function directly
which will produce much better, if still not always perfect, backtraces.

On Mon, 2015-04-06 at 16:24, Nehal Patel <[email protected]> wrote:
> Thanks Miles -- 
>
> I had seen the brief discussion in 8701, but had totally missed  1334, and 
> 6910 -- both are excellent resources that help me get my head around the 
> issues involved.
>
> Nehal

Reply via email to