debug logging in c++ firemonkey apps
TRANSCRIPT
![Page 1: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/1.jpg)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
DEBUG LOGGING IN C++
FIREMONKEY APPSBrian Long
[email protected]://blong.com
http://blog.blong.com
![Page 2: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/2.jpg)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
FMX PLATFORM SERVICE
IFMXLoggingService interface(or _di_IFMXLoggingService DelphiInterface template) Log() method
![Page 3: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/3.jpg)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
FMX TYPES UNIT HELPER
FMX.Types unit Log::d() class method
![Page 4: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/4.jpg)
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
![Page 5: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/5.jpg)
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)
![Page 6: Debug Logging in C++ FireMonkey Apps](https://reader036.vdocuments.site/reader036/viewer/2022062223/5889fac71a28ab0f388b563b/html5/thumbnails/6.jpg)
CodeRage XI – Productivity, Platforms and Performance – embt.co/CodeRageXI
Brian [email protected]://blong.com
http://blog.blong.com