

The app runs completely normal when opened without the debugger. Also, if I set a breakpoint while the debugger is attached, RAD studio freezes for ~10 seconds, and after it unfreezes the debugger disconnects (while the app is still running on the phone, still as a black screen).

On further investigation, I realized that if I set a breakpoint on Application.Initialize, it is never triggered. The app stays entirely black, and either nothing happens or RAD studio disconnects after a minute of being in the debug mode. I get the exception Stop(17), which leads me to CPU view and a call stack containing only "clone" and "bionic_clone", When I try to run in debug mode, the app installs, a black screen shows up on the phone, and RAD studio layout transforms to Debug layout.


I'm using the latest Delphi version (Alexandria, Update 1), and my phone is Samsung A52s. As the title says, I cannot debug any Delphi FMX application on my Android phone. So you can write your package name inside a Log Message field.Hi. Log there for you, even after the app crashes. and then select that filter for future runs. PackageName: (Instead, select "Edit Filter Configuration." and set up a filter for That process is gone, so the filter clears the log. which is looking at the log of the selected process (yourĬurrent launch by default). In AndroidStudio, the default setting for the Logcat window seems toīe "Show only selected Application" (top right corner of the Logcat See Android Studio, logcat cleans after app closes. So, it would be better to create Nexus 5/5X emulators instead.Īlso there is another way. I found that Pixel 2 emulator with Android 5 (API 21) didn't show logs. Sometimes it will be useful to change to other options (like "Firebase", "Show only selected application") and return to "No filters". Currently I filter logs in Logcat so (insert you package name):Ĭheck that you selected "No filters" in the right box.
