xcode

Discussion in 'Mac Programming' started by chris200x9, Oct 8, 2007.

  1. chris200x9 macrumors 6502a

    Joined:
    Jun 3, 2006
    #1
    ok I have a question about xcode how do I trace through a program like I can do with microsoft studio? and number 2. everytime I try to create in/out files it never works, why is that?
     
  2. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #2
    Are you getting failures when writing a file, or, you just can't find them? If you can't find them, look in the DEBUG folder (if that is your current build option).

    Not sure on #1. I can look. I've been wanting to know how to do this too.

    Todd
     
  3. chris200x9 thread starter macrumors 6502a

    Joined:
    Jun 3, 2006
    #3
    yea...I just couldnt find them.... thanks for the quick reply
     
  4. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #4
    For the debug, first click in the left margin to set a breakpoint. Then, you can click DEBUG in the XCode Menu bar. When you get the little window shown below, click on the can of bug killer to run to your breakpoint. Then, click and experiment.

    Todd
     

    Attached Files:

  5. chris200x9 thread starter macrumors 6502a

    Joined:
    Jun 3, 2006
    #5
    I still don't get it... I created a simple cin x
    x++ program just to test it and I don't know how to get it to run so that i put in x then trace it getting incremented
     

Share This Page