Make sure that a macro is not modifying itself while running. Source Insight will abort any macro that attempts to edit a file containing a running macro.