Debug Logging in Delphi FireMonkey Apps

B
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
DEBUG LOGGING IN
DELPHI
FIREMONKEY APPS
Brian Long
brian@blong.com
http://blong.com
http://blog.blong.com
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
FMX PLATFORM SERVICE
IFMXLoggingService interface
 Log method
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
FMX TYPES UNIT HELPER
FMX.Types unit
 Log.d class method
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
SEEING LOG OUTPUT
Win32/Win64
 C++Builder
View, Debug Windows, Event Log (Ctrl+Alt+V)
 SysInternals DebugView
Android
 DDMS (from Android SDK tools)
 Monitor (from Android SDK tools)
DDMS perspective, LogCat tab
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
SEEING LOG OUTPUT
iOS simulator
 Console(.app)
Debug, Open System Log... (⌘/)
iOS devices
 Xcode
Window, Devices (⇧⌘2) then click the up-triangle at the bottom
left of the right hand panel
macOS
 Console / stdout (via WriteLn)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
Brian Long
brian@blong.com
http://blong.com
http://blog.blong.com
1 of 6

More Related Content

Recently uploaded(20)

DevsRankDevsRank
DevsRank
devsrank78610 views
LAVADORA ROLO.docxLAVADORA ROLO.docx
LAVADORA ROLO.docx
SamuelRamirez835247 views
Unleash The MonkeysUnleash The Monkeys
Unleash The Monkeys
Jacob Duijzer7 views

Featured(20)

ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani30.3K views
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking6.9K views
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
I Rock Therefore I Am. 20 Legendary Quotes from PrinceI Rock Therefore I Am. 20 Legendary Quotes from Prince
I Rock Therefore I Am. 20 Legendary Quotes from Prince
Empowered Presentations142.8K views
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views
Read with Pride | LGBTQ+ ReadsRead with Pride | LGBTQ+ Reads
Read with Pride | LGBTQ+ Reads
Kayla Martin-Gant1.1K views

Debug Logging in Delphi FireMonkey Apps

  • 1. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI DEBUG LOGGING IN DELPHI FIREMONKEY APPS Brian Long brian@blong.com http://blong.com http://blog.blong.com
  • 2. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI FMX PLATFORM SERVICE IFMXLoggingService interface  Log method
  • 3. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI FMX TYPES UNIT HELPER FMX.Types unit  Log.d class method
  • 4. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI SEEING LOG OUTPUT Win32/Win64  C++Builder View, Debug Windows, Event Log (Ctrl+Alt+V)  SysInternals DebugView Android  DDMS (from Android SDK tools)  Monitor (from Android SDK tools) DDMS perspective, LogCat tab
  • 5. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI SEEING LOG OUTPUT iOS simulator  Console(.app) Debug, Open System Log... (⌘/) iOS devices  Xcode Window, Devices (⇧⌘2) then click the up-triangle at the bottom left of the right hand panel macOS  Console / stdout (via WriteLn)
  • 6. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI Brian Long brian@blong.com http://blong.com http://blog.blong.com