Advanced debugging