No need for an external App !
In the lower right corner of the IDE you have Tabs.
One of these is the Logs Tab where the Logs are displayed.
View attachment 44624
You may have a look at following chapters in the Beginner's Guide:
4.3 Tabs
4.3.7 Logs
13 Debugging
That was helpful for a first step! Thx once more, Klaus
Now I have exchanged MsgBox by Log, 3 logs in total: 1st right before Timer1.Initialize, 2nd right after Timer1.Enabled=True and 3rd in Sub Timer1_Tick. And I have added FirstTime flag.
I had to deinstall CatLog to get log entry output. But after "beginning of main" none of my log entries are logged ... ?!?
"Setting install_non_..." is displayed right after app has stopped ...
Irritating ...
code >>>
#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim Timer1 As Timer
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime = True Then
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("hello")
Log("before Timer1 init")
Timer1.Initialize("Timer1_Tick",5000)
Timer1.Enabled=True
Log("past Timer1 init")
End If
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Timer1_Tick
Log("Timer1_Tick")
End Sub
<<< code