I am doing unix programming in c. I have used semaphores for doing some problems like producer consumer problem the thing that i found difficult it that unlike in C++ or C, the debugging in this is very difficult as there is no way to execute the program line by line. Can sombody tell me if there is any option in unix for line by line execution..?