debugging to sql parse