Using Xcode 3, I created a terminal program that constructs recursively a series of internal data structures derived from a tree of directories, which finally are send to the standard output to verify the correctness of the program. Once debugged, I noticed that the execution of the program was absolutely erratic; sometimes the listing is complete, but others entries are omitted in a random way. This happens in repeated executions of the built program (Run, Run, Run, etc.). The input is always the same, the built is the same, there are no (programmed) time dependencies, I am puzzled.
Has anyone ever experienced a similar behavior? Any clue?.
The source code is about 170 lines, if someone wants to look at it I will gladly send it.
mmolam@mydisc.jazztel.es
You couldn't post the code here using the code tags? I have a suspicion of whats going on, but it would help to have posted the code here or on pastebin.