pml

missing files when breakpoints are present

Discussion created by pml on Aug 29, 2011
Latest reply on Sep 20, 2011 by pml
iOS SDK version 2.0.
OS X Lion version 10.7.1.
Xcode 4.2 (in use).
Xcode 3.2 (also installed).
iOS SDK 5.0 (deployment target is 4.3).
Compiler is LLVM gcc 4.2 (no automatic reference counting).

After placing a breakpoint in an implementation file and running the program in the simulator, I receive a message about a missing file related to the AGS object that was referenced near that breakpoint. The program cannot continue at this point - the same error message displays if I press the "step into" button.

Running the program on the simulator or device produces the same error messages.

If I place a breakpoint near AGSGraphic and run the program, this message is displayed:
Can't show file for current stack frame

The file /build/iosbuildbot/build/iOS/ArcGIS/Classes/Core/Models/AGSGraphic.m does not exist on the file system.


If I place a breakpoint near AGSTiledMapServiceLayer, this message is displayed:
Can't show file for current stack frame

The file /build/iosbuildbot/build/iOS/ArcGIS/Classes/Core/Models/Layers/ArcGISServer/AGSTiledMapServiceLayer.m does not exist on the file system.


I found that the error messages only appear if breakpoints are present and I am stepping through the code. Using "continue" with breakpoints does not produce an error message. Without any breakpoints, the map loads just fine.

I believe I have checked all the obvious settings. I reinstalled the SDK. Still the same error messages appear. Then, as a test, I started a new project (still using Xcode 4.2) from an ArcGIS iOS template.  The implementation and xib files were created as empty files (xib can't even be edited). Obviously something is not right. It seems that something may be incorrect about the installation...?

Interestingly enough, if I create a new ArcGIS project with Xcode 3.2, the implementation files and xib file contain the expected content - the project can be built and run without problems.

Thank you for any help,
Paul Lohr

Outcomes