Skip to main content
Up and Coming
August 14, 2020

Is there a way to attach gdb to debug my application on the oculus quest?

I'm using an android NativeActivity, so I need to debug my `libApp.so`.
I've used adb logcat, but because my program crashes essentially immediately, there isn't time to do much meaningful inspection. The backtrace it prints isn't symbolized, so that also isn't helpful.

I've looked into adbd, but I get the error "/system/bin/sh: adbd: not found", so I don't think that's a possibility.

3 replies

Phildo3Author
Up and Coming
August 16, 2020
bumping.
to be clear, my question is literally just "how can I debug my native quest app". that just... has to be possible... right?
New Participant
August 19, 2020
Keep sharing the info, kudos.
Participant
August 19, 2020
I'm an Unreal developer but when I debug it, I use Android Studio. I'm guessing the process is similar for a native app?
https://developer.oculus.com/documentation/native/android/mobile-studio-debug/