- Home /
Trace error with line number in device platform
I use a graylog server to catch all the exception message raise from device ( by using Application.LogCallback ). But the message sent from device not include any information about line number or file name ( Notice that the log come from simulator is full information). Is there any suggestion ?
Below is an log example
uuid[English-IPhonePlayer-51A59392-0-23AA4585] NullReferenceException: Object reference not set to an instance of an object EnemyStateAttack.attackMonster () EnemyStateAttack.Enter () FiniteStateMachine`2[Enemy,Enemy+States].ChangeState (.FSMState`2 NewState) FiniteStateMachine`2[Enemy,Enemy+States].ChangeState (States stateID) Enemy.ChangeState (States newState) EnemyStateWait.Execute () FiniteStateMachine`2[Enemy,Enemy+States].Update () Enemy.Update ()
Stack trace information generally doesn't include file and line information in a release build. You could try a development build and see if that makes a difference. See StackTrace docs for more information.
Your answer
Follow this Question
Related Questions
Android crash logs? 1 Answer
Debug.log output is not showing in device console for ios6 1 Answer
Have my debug log saved to a .log file in build. 2 Answers
read the binary log file 2 Answers