Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Debug Logging in Delphi FireMonkey Apps

3,507 views

Published on

Slides for a CodeRage XI Lightning Talk showing how to use FireMonkey logging on the various target Delphi FireMonkey platforms and where the logged messages can be viewed.

Published in: Software
  • Be the first to comment

Debug Logging in Delphi FireMonkey Apps

  1. 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. 2. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI FMX PLATFORM SERVICE IFMXLoggingService interface  Log method
  3. 3. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI FMX TYPES UNIT HELPER FMX.Types unit  Log.d class method
  4. 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. 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. 6. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI Brian Long brian@blong.com http://blong.com http://blog.blong.com

×