Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27787

Android: Add C/C++ debugging to SDK test app builds

    Details

    • Story Points:
      8
    • Sprint:
      2020 Sprint 22

      Description

      Summary:
      We've never been able to debug the Titanium SDK's C/C++ code via Android Studio before. We should enable this for easier C/C++ development. Currently, we're forced to debug our C/C++ code old-school style via logging functions.

      Note:
      This only applies to the Titanium SDK's test "app" project. It does not apply to customer apps built with Titanium since the SDK library we ship is a "release" version and does not provide debug symbols.

      Implementation:
      Google documents that they only support C/C++ debugging if you use CMake. This would mean we would have to replace our makefile usage with CMake files instead. While using CMake seems like a waste since Android is our only target, this is what Google pushes and they consider the ndk-build makefile system as a "legacy" feature.
      https://developer.android.com/studio/projects/add-native-code.html#download-ndk

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
                Tester:
                Satyam Sekhri
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration