...the problem is i cant detect what is the problem
if you don't know "what is the problem" how do you even know there is a problem. You're posting your question on a forum, so you must realize that obviously something isn't working. So whatever it is that is making you realize that you should create a new thread on Macrumors, that is the thing/behavior that you should be providing as much information as you possibly can. Describe what you're expecting to happen, describe what actually does happen (what warnings/errors/etc. get generated). Does your code crash? does it get stuck in an infinite loop with the beach ball spinning forever? Be very specific. What steps have you tried to fix things, how did they work out? What are your assumptions? What terms have you searched for in Google?
If you can't be bothered to take the time to provide basic $%@ing information, how can you possibly expect others to solve your problems for you? It seems like you think of the Macrumors programming community as a source of free programming support. If you'd taken the time to read the article I linked I think you would realize where you've gone wrong.
If you can't be bothered to research questions and provide the useful background information, perhaps you should seriously consider hiring a professional programmer to help solve your problems for you. This is an amazing group of people who have given me a lot of terrific advice over the years, and helped me learn a tremendous amount. They are very charitable with their time, so you should extend them the courtesy of keeping your end of the bargain, namely providing as much helpful info up front when asking others for help.