Get A Stacktrace With Backtrace Library For Delphi XE5 Firemonkey On Android

Delphi XE5 Firemonkey ARM Stacktrace BacktraceHonza Rames has created a library that allows you to create a stacktrace for Delphi XE5 Firemonkey apps on Android ARM devices. The library is currently in the proof of concept phase but it does output line numbers in specific .pas files from the app running the ARM Delphi .so. It uses the TPosixProcEntryList object from the Posix.Proc, Posix.Backtrace, Posix.ExceptionUtil libraries with the LoadFromCurrentProcess and the ConvertStackTrace() function to accomplish it. Currently it does not work on ARM IOS but that may be added in the future and has only been tested on a Nexus 7 Android device. Here is some sample output from the backtrace:

Head over and check out the library project for getting stacktrace info from Android ARM.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Get A Stacktrace With Backtrace Library For Delphi XE5 Firemonkey On Android by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE5 Firemonkey Android IMEI
Read The IMEI Device ID With Delphi XE5 Firemonkey On Android

Here is a code snippet which gets the Android device IMEI for you using the Android JNI. The IMEI (International...

Close