cancel
Showing results for 
Search instead for 
Did you mean: 

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

Phildo3
Protege
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 3

Phildo3
Protege
bumping.
to be clear, my question is literally just "how can I debug my native quest app". that just... has to be possible... right?

Bratle1y
Honored Guest
Keep sharing the info, kudos.

en-austin
Protege
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/