Open mschwart opened 6 years ago
That's the deprecated instructions (for Android M or earlier). Newer versions use kati automatically (either from source build/kati for Android-N or as a prebuilt in prebuilts/build-tools/linux-x86/bin/ckati for later versions)
Can we also get instructions on how to use gdb when building Android? That was the intent behind trying to directly invoke anyway... I see that now soong is making the invocation so it looks like it might not be trivial.
Yeah, that's not necessarily easy, depending on how true you want to keep the environment. It's generally a lot easier to debug a smaller example build if you can create one.
To debug kati within soong_ui, it's probably best to create an option that pauses execution with SIGSTOP, or spins (etc) waiting for gdb to connect.
Reopening to handle the gdb request
When following the instructions from the README.md I end up with the following error:
Instrumenting a normal build and passing the variables results in more errors.
Also notable is that both methods provided in README are marked as deprecated.
What is the right way to invoke this tool?