Marshal
Your goal during inspection is to spot defects and pinpoint enhancements. Save yourself the recompile and verify the result realtime. Be more productive by using Marshal to:
- Inspect and modify component settings at runtime
- Verify changes without a recompile
- Capture before and after screenshots of changes with a path to the modified object
- Add bookmarks to annotate changes to be made offline or at a later date
- Record changes in a session for offline review with Caddie
- Inspect without a debugger
- Marshal's tree navigation is similar to the IDE
Marshal provides navigation for the forms, datamodules and components of your application. Marshal understands the internals of a Delphi application starting with the TApplication object, identifying forms and datamodules and the components on each form. Marshal is a dedicated form so that you can use a side by side view. Marshal provides a workspace for Inspectors assigned by executing transforms against objects active in your application. Inspectors are views / visualizations / tools that understand objects by class type.
Marshal provides shortcuts to help navigate / inspect your application. Right clicking on a form will give you the option GoTo active. This will take you to the active control of the form. A drop down filter is available if you know the controls name.
Marshal Navigation
Release Notes
Inspectors - visualizers / support tools
Object Plus provides access to component properties and events at runtime
Application Inspector Essential results based on RTL
Dataset Grid Grid view of an TDataset
Query SQL Adhoc query for TFDConnection
Options
- Details
- Category: Learn Marshal
Delphi application components need to be debugged at runtime to determine root cause of behaviors seen in the application. Marshal provides familiar navigation and an Object Inspector to aid in runtime diagnostics. Learn how to use Marshal to debug a Delphi application below.
Exercise 1: Label and Edit
This exercise uses the demo applications to get familiar with Object Plus and Marshal. The form has alignment and width issues for practice.
The problems are:
-
Label is not aligned to client
-
Edit is not aligned to client
-
List box is not wide enough
Start the FMX demo and then click on Marshal. Marshal creates its own form so that you can put it next to your application or on a second monitor. I will show them side by side in this exercise.
Subcategories
Inspectors
Inspectors allow you to explore details of your application at runtime. Inspectors contain the code to generate the information and visualize it depending on the type of information. They are similar to debug visualizers in the IDE, presenting the information in a more usable form.
Inspectors - visualizers / support tools
Object Plus provides access to component properties and events at runtime
Application Inspector Essential results based on RTL
Dataset Grid Grid view of an TDataset
Query SQL Adhoc query for TFDConnection
Learn Marshal
Marshal Learning Resources