< Back

ConvertTo-Breakpoint

Mon Jan 13, 2020 5:15 am

NAME ConvertTo-Breakpoint



SYNOPSIS





SYNTAX

ConvertTo-Breakpoint [-ErrorRecord] <Object> [-All] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Converts an errorrecord to a breakpoint





PARAMETERS

-ErrorRecord <Object>

The error record



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-All [<SwitchParameter>]

Sets breakpoints on the entire stack



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$error[0] | ConvertTo-Breakpoint













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$error[0] | ConvertTo-Breakpoint -All















RELATED LINKS