Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chris200x9

macrumors 6502a
Original poster
Jun 3, 2006
906
0
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?
 

toddburch

macrumors 6502a
Dec 4, 2006
748
0
Katy, Texas
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
 

chris200x9

macrumors 6502a
Original poster
Jun 3, 2006
906
0
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

yea...I just couldnt find them.... thanks for the quick reply
 

toddburch

macrumors 6502a
Dec 4, 2006
748
0
Katy, Texas
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
 

Attachments

  • Picture 2.png
    Picture 2.png
    174.1 KB · Views: 84

chris200x9

macrumors 6502a
Original poster
Jun 3, 2006
906
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.