Breakpoints in Boots Scriptblocks don't work

Developer
Jun 28, 2009 at 11:44 PM

I tried setting a breakpoint in code inside the New-BootsWindow scriptblock but no luck stopping in the code.
I lift it out into a function scoped at the script level and the breakpoint works.

Coordinator
Jun 29, 2009 at 12:01 AM
Yeah, I'm afraid I don't have much control over that. I'll have to ask the PowerShell team about this, and whether there's a way for me to make it so it works...


dfinke wrote:

From: dfinke

I tried setting a breakpoint in code inside the New-BootsWindow scriptblock but no luck stopping in the code.
I lift it out into a function scoped at the script level and the breakpoint works.