Property

OmniSourcePlanContext:dry-run

Declaration

property dry-run: gboolean [ read ]

Description

Get a flag indicating whether a dry-run mode is active in the current planning operation.

The dry-run mode is designed to be used while the user is configuring an analysis session to provide immediate feedback about the validity of configuration. When this mode is active, the plan_async method should refrain from performing potentially time-consuming or side-effectful operations, such as accessing memory on a debug target and sending network requests.

A plan created in a dry-run mode will never be activated (i.e., Omni.SourcePlan.activate_async will never be called).

Type:gboolean

Flags

Readableyes
Writableno
Constructno
Construct onlyno