Warning: Since
GeneXus 16, it is strongly recommended to create a
User Control object. However, what it is explained in this article is still valid.
The following document explains the steps to follow in order to debug your User Control or External Object for
Native Mobile applications; in this case the
Apple Environment.
1. The first thing is to have an implementation of your User Control or External Object (it could be empty).
2. Copy the lib to the UserControls folder in your GeneXus environment.
3. Build the project from GeneXus in order to transfer the whole project to your Mac.
4. Once in the Mac, open the associated Xcode project; by detault it is located under /Users/UserName/Documents/Projects/KnowledgeBaseName/DashboardName
5. Delete the reference to the External Object or UC library and add a reference to the Xcode project.
6. Add the External Object | UC project as a dependency in order to get it built.
7. Now you can insert the required breakpoints in the desired classes and the application will stop there during the debug session.
User Controls for Native Mobile applications
External Objects for Native Mobile Applications