# Debugging Mobile

**URL:** <https://forums.unrealengine.com/t/debugging-mobile/56094>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [February 22, 2016, 1:24am UTC](https://forums.unrealengine.com/t/debugging-mobile/56094 "2016-02-22T01:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bfee94af](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bfee94af](https://forums.unrealengine.com/u/anonymous_user_bfee94af)\
**Post date:** [February 22, 2016, 1:24am UTC](https://forums.unrealengine.com/t/debugging-mobile/56094/1 "2016-02-22T01:24:01Z")

</div>

Hello everyone,

I am making a top down shooter for android and right now im having an issue with the game. It works correctly in engine on the mobile player and the in view editor, but as soon as I put it on a device you can walk etc but when you go to shoot the game crashes. I assume it has something to do with my shooting code but are there logs of some sort? How can I go better about fixing this situation.

In Editor: [In Editor GIF](https://i.gyazo.com/557d4448d827ae1544bedf5fdbf13fc4.gif)

On Mobile: [Mobile GIF](http://i.imgur.com/xu8hvKM.gifv)

[Character Header](http://pastebin.com/gu2jRPc2)  
[Character CPP](http://pastebin.com/kB4k16m1)  
[Weapon Header](http://pastebin.com/XGpQpuGd)  
[Weapon CPP](http://pastebin.com/BuDDRat2)

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [February 22, 2016, 11:29pm UTC](https://forums.unrealengine.com/t/debugging-mobile/56094/2 "2016-02-22T23:29:24Z")

</div>

Hi .Soares7,

You will need to look at the device’s logcat results with ADB:

```auto

adb logcat -s UE4 -s debug -s DEBUG

```

All UE4 log messages use the UE4 tag. The system messages will be either debug or DEBUG (case matters). Look for an assert (UE4) and callstack (debug) to see why it crashes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bfee94af](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bfee94af](https://forums.unrealengine.com/u/anonymous_user_bfee94af)\
**Post date:** [February 23, 2016, 8:48pm UTC](https://forums.unrealengine.com/t/debugging-mobile/56094/3 "2016-02-23T20:48:09Z")

</div>

I think it could be related to me calling the fire function in a function that is called in Tick() just causing it to overload. What should be my best way of calling my fire function without a tick event?

---

<div class="post-metadata">

**Author:** ![Sanjay\_varma11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanjay_varma11/32/88711_2.png) [@Sanjay\_varma11](https://forums.unrealengine.com/u/Sanjay_varma11)\
**Post date:** [June 25, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/debugging-mobile/56094/4 "2022-06-25T17:00:20Z")

</div>

You can also try this as well in order to get more accurate results

```auto
adb logcat -s AndroidRuntime -s UE4

```
