PowerTip: Find All Disabled Breakpoints in PowerShell

Doctor Scripto

Summary: Find all disabled breakpoints in a Windows PowerShell session.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see what breakpoints are disabled in my current session?

Hey, Scripting Guy! Answer Use the Get-PSBreakPoint cmdlet, and filter breakpoints that are not enabled, for example:

Get-PSBreakpoint | where {-not ($_.enabled)}

0 comments

Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon