How to debug the palabos program

Hi all,

I am beginner on linux and palabos. I wrote a simple program by using palabos library but I need to debug my code to understand the value of the parameter and find the part of my mistakes. how can I run the program step by step (like debugging the M-file in Matlab Or Octave) . your help would be highly appreciated.

Thanks in advance,