During running a test in the debug mode I see no way to see my println
output. It is not an Android Test so it is not running in emulator and/or on the device.
I am using Android Studio 3.5.2.
How can I see what was displayed by println
commands? I tried:
- Logcat (not working as expected, as I am not running tests in emulator or on the device)
- Debug tab, and checked both Debugger and Console subtabs
- Terminal tab - show new terminal without program output
- Build - as expected, nothing relevant
I also tried:
- restarting Android Studio
- restarting system
- restarting Android Studio with clearing caches
- looking for an alternative IDE, it seems that Android Studio has a de facto monopoly (Eclipse is the only potential alternative, but for now I am stuck with Eclipse crashing at startup and discovery that my OS version is EOL, so now I am going to upgrade from Lubuntu 16.04 )
To avoid XY problem: I want to see my println
output as I run into a bug in a debugger and state of my variables is hidden - see "Variables are not available" appearing sometimes during debugging, on stepping through program (Android Studio 3.5+)