debugging macro management