I am trying to debug a FireMonkey application compiled with Delphi XE2 with Update 1 using Xcode v3.2.6 on Apple Snow Leopard 10.6.8. I am able to load the project in Xcode, compile it and run it in the iPhone simulator.
However, debugging does not seem to work. When I launch the project using "Run / Debug - Breakpoints On", all breakpoints in the Pascal source file which I had set in Xcode are ignored and the IDE does not interrupt the program when the code gets executed.
I have created a "Debug" configuration and in the "Deployment" options deselected the entries "Strip Debug Symbols During Code" and "Strip Linked Product". In the "Build Options" "DWARF with dSYM File" is selected as the "Debug Information Format".
I have installed the FireMonkey / Free Pascal / Xcode tools that came with Delphi XE2 with Update 1.