Table of Contents

Class ConditionsStateExtensions

Namespace
nanoFramework.Tools.Debugger.Extensions
Assembly
nanoFramework.Tools.DebugLibrary.Net.dll
public static class ConditionsStateExtensions
Inheritance
ConditionsStateExtensions
Inherited Members

Methods

IsDeviceInExitedState(State)

Check if device execution state is: program exited.

public static bool IsDeviceInExitedState(this Commands.DebuggingExecutionChangeConditions.State state)

Parameters

state Commands.DebuggingExecutionChangeConditions.State

Returns

bool

IsDeviceInInitializeState(State)

Check if device state is Initialized state (see remarks).

public static bool IsDeviceInInitializeState(this Commands.DebuggingExecutionChangeConditions.State state)

Parameters

state Commands.DebuggingExecutionChangeConditions.State

Returns

bool

true if the device is in initialized state. false otherwise.

Remarks

A device is in initialized state if it's not running a program or if the program execution is stopped (after having running one).

IsDeviceInProgramRunningState(State)

Check if device execution state is: program running.

public static bool IsDeviceInProgramRunningState(this Commands.DebuggingExecutionChangeConditions.State state)

Parameters

state Commands.DebuggingExecutionChangeConditions.State

Returns

bool

IsDeviceInStoppedState(State)

Check if device execution state is: stopped.

public static bool IsDeviceInStoppedState(this Commands.DebuggingExecutionChangeConditions.State state)

Parameters

state Commands.DebuggingExecutionChangeConditions.State

Returns

bool

IsDeviceStoppedOnTypeResolutionFailed(State)

Check if device execution state is: stopped on type resolution failed.

public static bool IsDeviceStoppedOnTypeResolutionFailed(this Commands.DebuggingExecutionChangeConditions.State state)

Parameters

state Commands.DebuggingExecutionChangeConditions.State

Returns

bool