-
-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Milestone
Description
Macros add serious complications to debugging when it comes to the call stack.
When the instruction pointer points to a source code location inside a macro, the location of the macro invocation and the actual function that should be on top of the stack is completely lost.
From a users perspective, the best solution would be if every macro was wrapped in a function call if some debug compilation flag is set.
If that's not possible or too complicated, I'd actually prefer to have all source code locations inside a macro collapse to the invocation location. This would mimic C macros.