For the most part I have been enjoying my excursions into learning Objective-C and the XCode environment. I have been programming for more than 30 years and have used most programming languages at one time or another, so most of my issues deal with the intracacies of the Coacoa environment, and especially the programming paradigms for GUI based applications under MaxOS X.
I am using a 1.2GHz iMac 17" as my primary machine, and have the latest versions of the OS and tools installed.
There are a couple of things about the XCode environment that bug the heck out of me, unless I am not doing something right.
1. Debug performance. If I execute my code, which is riddled with NSLog() calls to aid in trackiong down issues, the code runs very fast and I see the results very quickly. If I press the debug button, however, it can take 20-70 seconds before my dialog appears and I can press a button. After pressing the button, it can take another 15-45 seconds before I hit my first breakpoint. Is this performance normal? Or are there things that can be done to improve this?
2. If I organize my source files into subdirectories of the main project folder, then I cannot step into code that resides in those subdirectories, even if I have set the project to full symbols and no optimization! If I set a breakpoint within some code that is in a subdirectory then I hit that breakpoint and can step into most other routines in the same file and some in the same directory, but not all -- and aside from the files being in a subdirectory of the project I can find no other pattern. Is this normal? Or is there some configuration I can adjust to avoid this?
3. I have found no reference to keyboard equivalences to the Step In/Over/Out or Continue buttons. I am forced to use the mouse for everything. Are there no keyboard values for the debugger?
-ken
I am using a 1.2GHz iMac 17" as my primary machine, and have the latest versions of the OS and tools installed.
There are a couple of things about the XCode environment that bug the heck out of me, unless I am not doing something right.
1. Debug performance. If I execute my code, which is riddled with NSLog() calls to aid in trackiong down issues, the code runs very fast and I see the results very quickly. If I press the debug button, however, it can take 20-70 seconds before my dialog appears and I can press a button. After pressing the button, it can take another 15-45 seconds before I hit my first breakpoint. Is this performance normal? Or are there things that can be done to improve this?
2. If I organize my source files into subdirectories of the main project folder, then I cannot step into code that resides in those subdirectories, even if I have set the project to full symbols and no optimization! If I set a breakpoint within some code that is in a subdirectory then I hit that breakpoint and can step into most other routines in the same file and some in the same directory, but not all -- and aside from the files being in a subdirectory of the project I can find no other pattern. Is this normal? Or is there some configuration I can adjust to avoid this?
3. I have found no reference to keyboard equivalences to the Step In/Over/Out or Continue buttons. I am forced to use the mouse for everything. Are there no keyboard values for the debugger?
-ken