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 C++ FireMonkey Apps

2,856 views

Published on

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

Published in: Software
  • Be the first to comment

  • Be the first to like this

Debug Logging in C++ FireMonkey Apps

  1. 1. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI DEBUG LOGGING IN C++ 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 (or _di_IFMXLoggingService DelphiInterface template)  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  Delphi 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 devices  Xcode Window, Devices (⇧⌘2) then click the up-triangle at the bottom left of the right hand panel macOS  Console / stdout (via Delphi WriteLn)
  6. 6. CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI Brian Long brian@blong.com http://blong.com http://blog.blong.com

×