NXP-12867: add stacktrace logging when running the heisen bug test