Good afternoon
We often have the question:
which Source-Line is responsible for a message which appears on the Console?
There are many Write-Host commands in the Code and some Console-Outputs just has a "Iteation: $x" command (without Write-Host), therefore they are really hard to find.
Therefore, it would be an unique and useful feature, if you could offer a dynamic breakpoint which breaks the Code-Execution as soon as something is written to the console.
Or maybe an advanced user-defined breakpoint setting like: "Break if the Text "xxx" is written to the Console".
As I though about this kind of breakpoint, I thought that if could be useful if PowerShell Studio could break if a pattern appears on the Pipeline, too. Maybe, it's a cool idea - maybe not ...
Kind regards,
Thomas
PowerShell Studio: Dynamic Breakpoint: "On Data sent to Console|Pipeline|..."
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Re: PowerShell Studio: Dynamic Breakpoint: "On Data sent to Console|Pipeline|..."
Thank you for your feedback. You can use a function breakpoint to instruct the debugger to break when a particular function / cmdlet is called.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.