Replies: 1 comment 3 replies
-
It sounds like you're asking for the rest of the stack trace that would be produced in an equivalent situation without a macro. I don't think there's a way to get this as Hy stands, but this is one of several reasons that it's a good idea to put complex macro logic into a separate function, similar to how in this case you gave the
What's a staging program?
You'll probably be interested in |
Beta Was this translation helpful? Give feedback.
-
Is there a way to debug what is going on w/o putting
print
statements.the issue comes from
foo-s
trying to addx
to"str"
, but in a more complex function it is hard to debug what is going on w/o usingprint
statement. That makes writing staging programs somewhat impractical.Is there a way to get
hy
to print where error comes from, or perhaps a pointer where I can look athy
source to try to make it possible? ThanksBeta Was this translation helpful? Give feedback.
All reactions