When i run my app in debug mode, the log file sometimes shows this error message:
Meanwhile, the IDE shows a different error message ("Index out ouf bounds"), but no hint, which of the 5000 lines could have caused the error.
This only happens in debug mode, everything is fine when i compile/run in release mode.
I use a separate thread for recording audio in my app.
During recording the microphone level is displayed and frequently updated. The procedure is called with
Maybe this line is related to the exeption error message.
Can i ignore the exception, because it is only thrown in Debug Mode? Is there a way to get rid of it?
Exception : Only the original thread that created a view hierarchy can touch its views.
Meanwhile, the IDE shows a different error message ("Index out ouf bounds"), but no hint, which of the 5000 lines could have caused the error.
This only happens in debug mode, everything is fine when i compile/run in release mode.
I use a separate thread for recording audio in my app.
During recording the microphone level is displayed and frequently updated. The procedure is called with
B4X:
RecordingThread.RunOnGuiThread( "ShowVolume", Array As Object(CurrentVolume))
Maybe this line is related to the exeption error message.
Can i ignore the exception, because it is only thrown in Debug Mode? Is there a way to get rid of it?