# Clicking Quest controller trigger causes Android Studio debugger to break on a SIGILL

**URL:** <https://forums.unrealengine.com/t/clicking-quest-controller-trigger-causes-android-studio-debugger-to-break-on-a-sigill/482285>\
**Category:** Mobile\
**Tags:** oculus-quest, unreal-engine, Android, question\
**Created:** [April 21, 2021, 10:28pm UTC](https://forums.unrealengine.com/t/clicking-quest-controller-trigger-causes-android-studio-debugger-to-break-on-a-sigill/482285 "2021-04-21T22:28:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericwa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ericwa](https://forums.unrealengine.com/u/ericwa)\
**Post date:** [April 21, 2021, 10:28pm UTC](https://forums.unrealengine.com/t/clicking-quest-controller-trigger-causes-android-studio-debugger-to-break-on-a-sigill/482285/1 "2021-04-21T22:28:18Z")

</div>

Attempting to debug an engine crash, I did a Debug Editor build of UE4.26.2.

I packaged a Debug build for Android ASTC (Android build settings configured to target Oculus Mobile (Quest)).

Followed [these instructions](https://docs.unrealengine.com/en-US/SharingAndReleasing/Mobile/Android/AndroidDebugging/index.html) to attach the Android Studio debugger. (also had to do Build → Clean Project in Android Studio as discussed [here](https://answers.unrealengine.com/questions/1003176/entry-name-meta-infandroidarchlifecycle-extensions.html) ).

Whenever I click the trigger button on the Quest’s controller, the VR rendering on the Quest freezes and Android Studio breaks on a SIGILL signal… this was confusing me and preventing me from testing with the debugger attached until I found out what was going on / how to make it not break.

---

<div class="post-metadata">

**Author:** ![ericwa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ericwa](https://forums.unrealengine.com/u/ericwa)\
**Post date:** [April 21, 2021, 10:32pm UTC](https://forums.unrealengine.com/t/clicking-quest-controller-trigger-causes-android-studio-debugger-to-break-on-a-sigill/482285/2 "2021-04-21T22:32:35Z")

</div>

This is actually documented by Oculus here [https://developer.oculus.com/documentation/native/android/mobile-studio-debug/](https://developer.oculus.com/documentation/native/android/mobile-studio-debug/) , although it’s easy to miss if you’re just looking at Unreal-related documentation.

As Oculus explains, to prevent Quest controller key presses from breaking into the debugger, in Android Studio, go to “Run → Edit Configurations”. Click the “Debugger” tab, then “LLDB Post Attach Commands”. Click the + button and add the command `process handle --pass true --stop false --notify true SIGILL`
