debug table generation