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.
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
- Category: Inspectors
Object Plus, the core inspector in Marshal, enables you to inspect and debug component properties and events in your application at runtime. Object plus automatically captures the detail of the change and screen shots for review.
Objects plus implements Object Inspector, a component in the TMS FNC UI Pack, to inspect properties of your components at runtime. Property editors are dedicated by class type to provide friendly editors for colors, enums and sets.
- Inspect and modify published component properties.
- Inspect and modify published component events.
- Export persistent component to compare against DFM.
- Inspect descendant class tree.
- Inspect Tag data in VCL and TagString, TagFloat, TagObject in FMX.
The properties tab allows you to view and edit the published properties of a component.
- Category: Learn Marshal
The session holds a log of your actions in Marshal so that you can modify as many times as necessary without taking notes on the side.
- 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.