debug k stack