Moving dumpStack into the debugLine function