ooo function debugging