debug logging in c++ firemonkey apps
Post on 26-Jan-2017
901 Views
Preview:
TRANSCRIPT
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
DEBUG LOGGING IN C++
FIREMONKEY APPSBrian Long
brian@blong.comhttp://blong.com
http://blog.blong.com
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
FMX PLATFORM SERVICE
IFMXLoggingService interface(or _di_IFMXLoggingService DelphiInterface template) 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 OUTPUTWin32/Win64
DelphiView, Debug Windows, Event Log (Ctrl+Alt+V)
SysInternals DebugViewAndroid
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 OUTPUTiOS devices
XcodeWindow, Devices ( 2⇧⌘ ) then click the up-triangle at the bottom left of the right hand panel
macOS Console / stdout (via Delphi WriteLn)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
Brian Longbrian@blong.comhttp://blong.com
http://blog.blong.com
top related