Struct lldb::SBLaunchInfo[][src]

pub struct SBLaunchInfo {
    pub raw: SBLaunchInfoRef,
}
Expand description

Configuration for launching a process.

See SBTarget::launch().

Fields

raw: SBLaunchInfoRef

The underlying raw SBLaunchInfoRef.

Implementations

Construct a new SBLaunchInfo.

Set the executable file that will be used to launch the process and optionally set it as the first argument in the argument vector.

This only needs to be specified if clients wish to carefully control the exact path will be used to launch a binary. If you create a target with a symlink, that symlink will get resolved in the target and the resolved path will get used to launch the process. Calling this function can help you still launch your process using the path of your choice.

If this function is not called prior to launching with SBTarget::launch(...), the target will use the resolved executable path that was used to create the target.

exe_file is the override path to use when launching the executable.

If add_as_first_arg is true, then the path will be inserted into the argument vector prior to launching. Otherwise the argument vector will be left alone.

Get the listener that will be used to receive process events.

If no listener has been set via a call to SBLaunchInfo::set_listener(), then None will be returned. If a listener has been set, then the listener object will be returned.

Set the listener that will be used to receive process events.

By default the SBDebugger, which has a listener, that the SBTarget belongs to will listen for the process events. Calling this function allows a different listener to be used to listen for process events.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Executes the destructor for this type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.