Results 1 to 2 of 2

Thread: Option in Unix for line by line execution

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Answers
    3

    Option in Unix for line by line execution

    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..?


  2. #2
    Contributing Member
    Join Date
    Apr 2007
    Answers
    41

    Re: Option in Unix for line by line execution

    I thnk u can do it using gcc or gdb.
    They are debuggers..I am not sure what are the exact commands
    Man gdb mite help


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact