[FR] Update ndk-gdb to work with gradle/cmake
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
In older versions of the Android NDK I could debug my code from the command line using ndk-gdb script. Now that the NDK is migrated to gradle/cmake, the ndk-gdb script is no longer working. This is because it only works with the old build system, and is dependent on the android.mk file.
It would be really nice if there was a new ndk-gdb that worked with the cmake build system and used lldb.
I am a text editor/command line developer and prefer not to open Android Studio for any reason :P
Thanks! :)
Contributor guide
Research direction
Start by locating the existing ndk-gdb script and reviewing its dependency on android.mk. Define how command-line debugging should work for Gradle/CMake builds using LLDB, with success meaning native code can be debugged without opening Android Studio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cmake
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100