Forum Discussion
Phildo3
6 years agoProtege
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.
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
- Phildo3Protegebumping.
to be clear, my question is literally just "how can I debug my native quest app". that just... has to be possible... right? - Bratle1yHonored GuestKeep sharing the info, kudos.
- en-austinProtegeI'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/
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 2 years ago
- 2 years agoAnonymous