How can I follow the app execution flow?

Is there an easy way to follow the app execution flow?

The best thing would be writing messages directly to aiStarter console, is it possible? I work on Ubuntu.

If not, is there another way to follow the app execution flow? I'd like to have printed somewhere something like

Procedure foo() started with parameters "one", "two", "three"
Procedure foo() finished
Procedure bar() started
--- txt_String1 = "this is string 1"
--- txt_String2 = "this is string 2"
Procedure bar() finished

I don't want to use adb or Android log, I need something which is easily accessible.

I tried to use Notifier.ShowAlert() but the pop-ups open one over the other so all what what I get is the flow reversed (from the last pop-up to the first one).

Ciao,
Max

There is also a Debugging console pane in AI2 that posts some Notifier block calls.

Example for LogInfo:

This way you could view logs in the console, terminal, (which is what you wanted), you can filter your adb output to your log contents ( e.g. mpolito dothis())

how to clear the log history in the panel?

i did not see any button or right click menu.

No method at present, only way is to completely restart project.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.