print stack string