CompareDump: add debug trace of past push/pop operations to assist debugging.

CompareDump: add debug trace of past push/pop operations to assist debugging.