无法在PowerGUI中启动调试器

时间:2022-06-07 03:28:46

I am using the PowerGUI Script Editor 1.7.1.702, and trying to start debugger, but I get such error message:

我正在使用PowerGUI脚本编辑器1.7.1.702,并尝试启动调试器,但我得到这样的错误消息:

Cannot find a provider with name 'Remove-PSBreakPoint -BreakPoint $bE4078E3092DF4dd9A469F3DC0CBB505C;Remove-Variable vE4078E3092DF4dd9A469F3DC0CBB505C;Remove-Variable bE4078E3092DF4dd9A469F3DC0CBB505C;

找不到名称为“Remove-PSBreakPoint -BreakPoint $ bE4078E3092DF4dd9A469F3DC0CBB505C”的提供商;删除变量vE4078E3092DF4dd9A469F3DC0CBB505C;删除变量bE4078E3092DF4dd9A469F3DC0CBB505C;

This happens on this line:

这发生在这一行:

Write-Host $MyInvocation.MyCommand.Definition

I am working with PowerShell v2.

我正在使用PowerShell v2。

1 个解决方案

#1


Please upgrade to the RTM version of PowerShell 2.0 here: http://support.microsoft.com/kb/968929

请在此处升级到PowerShell 2.0的RTM版本:http://support.microsoft.com/kb/968929

#1


Please upgrade to the RTM version of PowerShell 2.0 here: http://support.microsoft.com/kb/968929

请在此处升级到PowerShell 2.0的RTM版本:http://support.microsoft.com/kb/968929