3/16/2017 11:05:15 AM [NORMAL] - Method "StartLogging" at line 120 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs PowerShell Editor Services Host v0.10.0.0 starting (pid 21004)... Host application details: Name: Visual Studio Code Host ProfileId: Microsoft.VSCode Version: 0.10.0 Arch: 64-bit Operating system details: Version: Microsoft Windows NT 10.0.14393.0 Arch: 64-bit 3/16/2017 11:05:15 AM [NORMAL] - Method "Initialize" at line 214 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs PowerShell runtime version: 5.1.14393.693, edition: Desktop 3/16/2017 11:05:15 AM [VERBOSE] - Method "SetExecutionPolicy" at line 1312 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Current execution policy: ExecutionPolicy.Unrestricted 3/16/2017 11:05:15 AM [VERBOSE] - Method "CheckForCapability" at line 154 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\Capabilities\DscBreakpointCapability.cs Side-by-side DSC module was not found. 3/16/2017 11:05:15 AM [VERBOSE] - Method "SetProfileVariableInCurrentRunspace" at line 1430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Setting $profile variable in runspace. Current user host profile path: C:\Users\christopher.mcgrath\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1 3/16/2017 11:05:15 AM [NORMAL] - Method "FindPSScriptAnalyzerModule" at line 261 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs PSScriptAnalyzer found at C:\Users\christopher.mcgrath\.vscode\extensions\ms-vscode.PowerShell-0.10.0\modules\PSScriptAnalyzer\PSScriptAnalyzer.psd1 3/16/2017 11:05:15 AM [VERBOSE] - Method "EnumeratePSScriptAnalyzerRules" at line 289 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Available PSScriptAnalyzer Rules: PSAvoidUsingCmdletAliases PSAvoidDefaultValueSwitchParameter PSAvoidDefaultValueForMandatoryParameter PSAvoidUsingEmptyCatchBlock PSAvoidGlobalAliases PSAvoidGlobalFunctions PSAvoidGlobalVars PSAvoidInvokingEmptyMembers PSAvoidNullOrEmptyHelpMessageAttribute PSAvoidUsingPositionalParameters PSReservedCmdletChar PSReservedParams PSAvoidShouldContinueWithoutForce PSAvoidUsingUserNameAndPassWordParams PSAvoidUsingComputerNameHardcoded PSAvoidUsingConvertToSecureStringWithPlainText PSAvoidUsingDeprecatedManifestFields PSAvoidUsingInvokeExpression PSAvoidUsingPlainTextForPassword PSAvoidUsingWMICmdlet PSAvoidUsingWriteHost PSMisleadingBacktick PSMissingModuleManifestField PSPlaceCloseBrace PSPlaceOpenBrace PSPossibleIncorrectComparisonWithNull PSProvideCommentHelp PSUseApprovedVerbs PSUseBOMForUnicodeEncodedFile PSUseCmdletCorrectly PSUseCompatibleCmdlets PSUseConsistentIndentation PSUseConsistentWhitespace PSUseDeclaredVarsMoreThanAssignments PSUseLiteralInitializerForHashtable PSUseOutputTypeCorrectly PSUsePSCredentialType PSShouldProcess PSUseShouldProcessForStateChangingFunctions PSUseSingularNouns PSUseToExportFieldsInManifest PSUseUTF8EncodingForHelpFile PSDSCDscExamplesPresent PSDSCDscTestsPresent PSDSCReturnCorrectTypesForDSCFunctions PSDSCUseIdenticalMandatoryParametersForDSC PSDSCUseIdenticalParametersForDSC PSDSCStandardDSCFunctionsInResource PSDSCUseVerboseMessageInDSCResource 3/16/2017 11:05:15 AM [VERBOSE] - Method "Initialize" at line 103 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Extensions\ExtensionService.cs Executing extension API cmdlet script at path: C:\Users\christopher.mcgrath\AppData\Local\Temp\PSES_ExtensionCmdlets_s11x2gne.ps1 3/16/2017 11:05:15 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): . C:\Users\christopher.mcgrath\AppData\Local\Temp\PSES_ExtensionCmdlets_s11x2gne.ps1 3/16/2017 11:05:15 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:15 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:15 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:15 AM [NORMAL] - Method "StartLanguageService" at line 154 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs Language service started, listening on port 28129 3/16/2017 11:05:15 AM [NORMAL] - Method "StartDebugService" at line 209 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs Debug service started, listening on port 28865 3/16/2017 11:05:16 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 0, "method": "initialize", "params": { "processId": 24372, "rootPath": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts", "capabilities": {} } } 3/16/2017 11:05:16 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "0", "result": { "capabilities": { "textDocumentSync": 2, "hoverProvider": true, "completionProvider": { "resolveProvider": true, "triggerCharacters": [ ".", "-", ":", "\\" ] }, "signatureHelpProvider": { "triggerCharacters": [ " " ] }, "definitionProvider": true, "referencesProvider": true, "documentHighlightProvider": true, "documentSymbolProvider": true, "workspaceSymbolProvider": true, "codeActionProvider": true } } } 3/16/2017 11:05:16 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "workspace/didChangeConfiguration", "params": { "settings": { "powershell": { "codeFormatting": { "ignoreOneLineBlock": true, "newLineAfterCloseBrace": true, "newLineAfterOpenBrace": true, "openBraceOnSameLine": true, "whitespaceAfterSeparator": true, "whitespaceAroundOperator": true, "whitespaceBeforeOpenBrace": true, "whitespaceBeforeOpenParen": true }, "developer": { "bundledModulesPath": "", "editorServicesLogLevel": "Verbose", "editorServicesWaitForDebugger": false, "powerShellExeIsWindowsDevBuild": false, "powerShellExePath": "" }, "enableProfileLoading": true, "scriptAnalysis": { "enable": true, "settingsPath": "" }, "useX86Host": false } } } } 3/16/2017 11:05:16 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): C:\Users\christopher.mcgrath\Documents\WindowsPowerShell\profile.ps1 3/16/2017 11:05:16 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:17 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:17 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:17 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didOpen", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "text": "enum PackageType {\r\n All\r\n NPM \r\n Chocolatey\r\n Zip\r\n ZipInstaller\r\n Installer\r\n VSCodeExtension\r\n VSExtension\r\n Yarn\r\n}\r\n\r\nfunction Initialize-PackageInstaller{\r\n param(\r\n [Parameter(Mandatory, Position=0)]\r\n [string]\r\n $PathToConfig\r\n )\r\n $script:ConfigPath = $PathToConfig\r\n Remove-Variable script:PackageConfig -ErrorAction SilentlyContinue \r\n\r\n}\r\n\r\nfunction Install-Package {\r\n [CmdletBinding()]\r\n param(\r\n # id of package to install\r\n [Parameter(ValueFromPipelineByPropertyName)]\r\n [string]\r\n $Id,\r\n # Type of package to install ie npm, chocolatey etc \r\n [Parameter(ValueFromPipelineByPropertyName)]\r\n [PackageType]\r\n $Type,\r\n [switch] $Force\r\n )\r\n process{\r\n switch ($Type) {\r\n \"NPM\" {\r\n Install-NPMPackage -Name $Id -Force:$Force \r\n }\r\n \"Chocolatey\" {\r\n Install-ChocolateyPackage -Name $Id -Force:$Force \r\n }\r\n \"Zip\" {\r\n Write-Warning \"$Type not yet implemented\" \r\n }\r\n \"ZipInstaller\" {\r\n Write-Warning \"$Type not yet implemented\" \r\n }\r\n \"Installer\" {\r\n Write-Warning \"$Type not yet implemented\" \r\n }\r\n \"VSCodeExtension\" {\r\n Install-VSCodeExtension -Name $Id -Force:$Force \r\n }\r\n \"VSExtension\" {\r\n Install-VSExtension -Name $Id -Force:$Force \r\n }\r\n \"Yarn\" {\r\n Install-NPMPackage -UseYarn -Name $Id -Force:$Force \r\n }\r\n Default {\r\n Write-Error \"Invalid Package Type $Type Specified \"\r\n }\r\n }\r\n }\r\n}\r\n\r\nfunction Install-Packages {\r\n [CmdletBinding()]\r\n param(\r\n # Name of package to install\r\n [PackageType]\r\n $Type = [PackageType]::All , \r\n [string] $Id\r\n )\r\n process{\r\n $packages = Get-Packages -id $Id -type $Type\r\n $packages | Install-Package \r\n }\r\n}\r\n\r\nfunction Get-Packages($Id, [PackageType] $Type = [PackageType]::All ){\r\n Get-PackageConfigSection package -type $Type -id $id\r\n}\r\n\r\nfunction Get-HttpPackageConfig ($Uri){\r\n \r\n $cachePath = Join-Path \"$env:TEMP\\PackageInstaller\\\" \"$(Get-Date -Format \"u\")\\Packages.xml\"\r\n \r\n $xml = [xml]( Invoke-WebRequest -Uri $pkgurl -ContentType \"application/xml\" | Select-Object Content).Content \r\n $content = $xml.packages\r\n \r\n Write-Host \"Downloaded packaged configuration from $Uri\"\r\n $content\r\n}\r\n\r\n\r\nfunction Get-PackageConfig{\r\n if (-not (Test-Path variable:script:PackageConfig)) {\r\n $content = $null\r\n if ($script:ConfigPath -match \"^https?://\") {\r\n $content = (Get-HttpPackageConfig -Uri $script:ConfigPath)\r\n }\r\n else {\r\n $content = ([xml] (Get-Content $script:ConfigPath)).packages\r\n }\r\n $script:PackageConfig = $content\r\n }\r\n \r\n $script:PackageConfig\r\n}\r\n\r\nfunction IsDisabled($element){\r\n\r\n if ($element) { \r\n $result = ($element.disabled -eq \"true\")\r\n $result\r\n }\r\n else {\r\n $false\r\n }\r\n\r\n}\r\n\r\nfunction Enable-RemoteDesktop ([switch] $AddFirewallRule, [switch] $EnableSecureAuthentication ){\r\n Set-ItemProperty -Path 'HKLM:\\System\\CurrentControlSet\\Control\\Terminal Server'-name \"fDenyTSConnections\" -Value 0\r\n Enable-NetFirewallRule -DisplayGroup \"Remote Desktop\"\r\n Set-ItemProperty -Path 'HKLM:\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -name \"UserAuthentication\" -Value 1 \r\n}\r\n\r\nfunction Get-PackageConfigSection($section = \"package\", $type, $id, [switch] $IncludeDisabled, $keyProperty = 'id', $ThrowOnError ){\r\n $config = Get-PackageConfig\r\n $sections = $config.$section\r\n\r\n if(-not $type -eq [PackageType]::All ){\r\n $sections = $sections | Where-Object { $_.type -eq $type.ToString() }\r\n }\r\n\r\n #include config items marked disabled \r\n if (-not $IncludeDisabled.IsPresent) {\r\n $temp = $sections | Where-Object {-not (IsDisabled $_) }\r\n $sections = $temp\r\n }\r\n \r\n #if -id specified return section by id \r\n if ($id){\r\n $section = $sections | Where-Object {$_.$keyProperty -eq $id}\r\n Assert-HasValue -Value $section -ThrowOnError:$ThrowOnError -ErrorMessage \"No Environment $type Section with id '$id' found in environment file\"\r\n \r\n return $section \r\n }\r\n else {\r\n if($ThrowOnError){\r\n Assert-HasValue -Value $sections -ThrowOnError:$ThrowOnError -ErrorMessage \"No Environment $type Sections found in environment file\"\r\n }\r\n return $sections\r\n \r\n }\r\n}\r\n#Install Package Systems\r\n\r\n #Installs Chocolatey Package Manager if not already installed\r\n function Install-Chocolatey([switch] $Verbose){\r\n\r\n if(-not (Test-Path -Path env:ChocolateyPath)) {\r\n Write-Warning \"Chocolatey Not Installed...\"\r\n Write-Warning \"Installing...\"\r\n Invoke-WebRequest https://chocolatey.org/install.ps1 -UseBasicParsing | Invoke-Expression\r\n }elseif ($Verbose) {\r\n Write-Host -ForegroundColor Yellow \"Chocolatey already installed skipping...\"\r\n }\r\n }\r\n\r\n #Installs NPM Package Manager if not already installed\r\n function Install-NPM([switch] $Verbose){\r\n $version = Get-NPMVersion\r\n \r\n if(-not ($version)) {\r\n Write-Warning \"NPM Not Installed...\"\r\n Write-Warning \"Installing NodeJs via Chocolatey\"\r\n Install-Chocolatey -Verbose\r\n Install-ChocolateyPackage -Name \"NodeJs.Install\"\r\n }elseif ($Verbose) {\r\n Write-Host -ForegroundColor Yellow \"NPM already installed, Skipping...\"\r\n }\r\n }\r\n \r\n #Installs Visual Studio Code if not already installed\r\n function Install-VSCode([switch] $Verbose){\r\n [version] $version = Get-VSCodeVersion\r\n if(-not ($version)) {\r\n\r\n Write-Warning \"Visual Studio Code Not Installed...\"\r\n Write-Warning \"Installing VsCode via Chocolatey\"\r\n Install-Chocolatey -Verbose\r\n Install-ChocolateyPackage -Name \"VisualStudioCode\"\r\n \r\n }elseif ($Verbose) {\r\n Write-Host -ForegroundColor Yellow \"Visual Studio Code already installed, Skipping...\"\r\n }\r\n }\r\n\r\n #Installs Yarn Package Manager if not already installed\r\n function Install-Yarn([switch] $Verbose){\r\n $version = Get-YarnVersion\r\n \r\n if(-not ($version)) {\r\n Write-Warning \"Yarn Not Installed...\"\r\n Write-Warning \"Installing Yarn via NPM\"\r\n \r\n Install-NPM -Verbose\r\n Install-NPMPackage -Name \"Yarn\"\r\n\r\n }elseif ($Verbose) {\r\n Write-Host -ForegroundColor Yellow \"Yarn already installed, Skipping...\"\r\n }\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n##Package Installers \r\n\r\n #Installs a package from Chocolatey Gallery\r\n function Install-ChocolateyPackage{\r\n param(\r\n # Name of Package to install \r\n [Parameter(Mandatory, ValueFromPipelineByPropertyName)]\r\n [string]\r\n $Name,\r\n [switch] $Force\r\n )\r\n\r\n process{\r\n Write-Header \"Installing $type Package $name\" \r\n $forceCommand = if ($Force) {\r\n \" --force\"\r\n } else {\r\n \"\"\r\n }\r\n $command = \"choco install $Name $forceCommand\"\r\n Invoke-Expression -Command $command\r\n } \r\n }\r\n \r\n #Installs a package from NPM feed \r\n function Install-NPMPackage{\r\n param(\r\n # Name of Package to install \r\n [Parameter(Mandatory, ValueFromPipelineByPropertyName)]\r\n [string]\r\n $Name,\r\n [switch] $UseYarn,\r\n [switch] $Force\r\n )\r\n process{\r\n\r\n if ($UseYarn){\r\n\r\n $forceCommand = if ($Force) {\r\n \" --force\"\r\n } else {\r\n \"\"\r\n }\r\n $command = \"yarn add global $Name $forceCommand\"\r\n Write-Warning \"-UseYarn Specified Installing with Yarn\"\r\n Install-Yarn\r\n\r\n }else{\r\n\r\n Install-NPM\r\n $forceCommand = if ($Force) {\r\n \" --force\"\r\n } else {\r\n \"\"\r\n }\r\n $command = \"npm install -g $Name $forceCommand\"\r\n\r\n }\r\n\r\n Write-Header \"Installing $type Package $name\"\r\n\r\n Invoke-Expression -Command $command\r\n } \r\n }\r\n #Installs an extension from Visual Studio Gallery\r\n function Install-VSCodeExtension {\r\n param(\r\n # Name of Package to install \r\n [Parameter(Mandatory, ValueFromPipelineByPropertyName)]\r\n [string]\r\n $Name,\r\n [switch] $Force\r\n )\r\n \r\n process{\r\n Write-Header \"Installing $type Package $name\" \r\n Install-VSCode\r\n \r\n $verboseCommand = if($Verbose) {\r\n \" --verbose \"\r\n } \r\n \r\n if ($Force) {\r\n $extension = (Invoke-Expression -Command \"code --list-extensions\" | Where-Object { $_ -eq \"felipecaputo.git-project-manager\" })\r\n \r\n if ($extension){\r\n \r\n $command = \"code --disable-extension $Name $verboseCommand\"\r\n Invoke-Expression $command\r\n\r\n $command = \"code --uninstall-extension $Name $verboseCommand\"\r\n Invoke-Expression $command\r\n\r\n }\r\n\r\n }\r\n\r\n $command = \"code --install-extension $Name $verboseCommand\"\r\n Invoke-Expression $command \r\n\r\n }\r\n\r\n }\r\n\r\n #Installs an extension from Visual Studio Gallery \r\n function Install-VSExtension{\r\n param(\r\n # Name of Package to install \r\n [Parameter(Mandatory, ValueFromPipelineByPropertyName)]\r\n [string]\r\n $Name,\r\n [switch] $Force\r\n )\r\n\r\n process{\r\n Write-Header \"Installing $type Package $name\" \r\n\r\n } \r\n }\r\n\r\n #Invokes Defined Installer Command \r\n function Invoke-Installer{\r\n [cmdletbinding()]\r\n param(\r\n [Parameter(Mandatory=$true,\r\n Position=0,\r\n ParameterSetName=\"Path\",\r\n ValueFromPipeline=$true,\r\n ValueFromPipelineByPropertyName=$true,\r\n HelpMessage=\"Path to one or more locations.\")]\r\n $Path\r\n )\r\n\r\n process{\r\n Write-Header \"Installing $type Package $name\" \r\n }\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n##Tools\r\n \r\n #Install new Environment Variable if not set \r\n function Add-EnvironmentVariable{\r\n [CmdletBinding()]\r\n param(\r\n [Parameter(Mandatory)]\r\n [string] $Name, \r\n [Parameter(Mandatory)]\r\n [string] $Value, \r\n [EnvironmentVariableTarget] $Scope = [EnvironmentVariableTarget]::User, \r\n [switch] $Force\r\n )\r\n\r\n try { $old_value = [Environment]::GetEnvironmentVariable($Name, $Scope) }catch {}\r\n\r\n if ($old_value) {\r\n Write-Warning \"Environment variable $Name already exists with value $old_value use -force to override current value\"\r\n }\r\n\r\n [Environment]::SetEnvironmentVariable($Name, $Value, $Scope)\r\n }\r\n\r\n function Write-Header {\r\n [CmdletBinding()]\r\n param(\r\n # Text to display in header output \r\n [Parameter(Mandatory, Position=0)]\r\n [string]\r\n $HeaderText,\r\n # Text Color of header \r\n [Parameter()]\r\n [System.ConsoleColor]\r\n $ForegroundColor = [System.ConsoleColor]::Cyan\r\n )\r\n process{\r\n\r\n Write-Host -ForegroundColor $ForegroundColor \"========================================================================\"\r\n Write-Host -ForegroundColor $ForegroundColor \"$HeaderText\"\r\n Write-Host -ForegroundColor $ForegroundColor \"========================================================================\"\r\n \r\n }\r\n }\r\n function Get-ChocolateyVersion{\r\n try { \r\n if(-not $script:chocolateyVersion){\r\n $script:chocolateyVersion = (choco -v) \r\n }\r\n\r\n $script:chocolateyVersion\r\n }\r\n catch {\r\n $null \r\n }\r\n }\r\n\r\n function Get-VSCodeVersion{\r\n try {\r\n\r\n if(-not $script:vsCodeVersion){\r\n $script:vsCodeVersion = (npm -version) \r\n }\r\n \r\n $script:vsCodeVersion\r\n }\r\n catch {\r\n $null \r\n }\r\n }\r\n\r\n function Get-NPMVersion{\r\n try {\r\n\r\n if(-not $script:npmVersion){\r\n $script:npmVersion = (npm -version) \r\n }\r\n \r\n $script:npmVersion\r\n }\r\n catch {\r\n $null \r\n }\r\n }\r\n\r\n function Get-YarnVersion{\r\n try {\r\n\r\n if(-not $script:yarnVersion){\r\n $script:yarnVersion = (yarn --version) \r\n }\r\n \r\n $script:yarnVersion\r\n }\r\n catch {\r\n $null \r\n }\r\n }" } } 3/16/2017 11:05:17 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:05:17 AM [VERBOSE] - Method "GetFileBuffer" at line 135 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Opened file as in-memory buffer: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:05:17 AM [VERBOSE] - Method "HandleDidOpenTextDocumentNotification" at line 499 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Finished opening document. 3/16/2017 11:05:17 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 1, "method": "powerShell/getVersion" } 3/16/2017 11:05:17 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "1", "result": { "version": "5.1.14393.693", "displayVersion": "5.1", "edition": "Desktop", "architecture": "x64" } } 3/16/2017 11:05:17 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 2, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 124, "character": 1 }, "end": { "line": 124, "character": 1 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:05:17 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "2", "result": [] } 3/16/2017 11:05:18 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:05:19 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:05:19 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:05:19 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:05:21 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 3, "method": "textDocument/hover", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 129, "character": 122 } } } 3/16/2017 11:05:21 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:05:21 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "3", "result": { "contents": [], "range": null } } 3/16/2017 11:05:23 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 4, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 122, "character": 5 }, "end": { "line": 123, "character": 0 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:05:23 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "4", "result": [] } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "initialize", "arguments": { "clientID": "vscode", "adapterID": "PowerShell", "pathFormat": "path", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsVariablePaging": true, "supportsRunInTerminalRequest": true }, "type": "request", "seq": 1 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 1, "command": "initialize", "success": true, "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": false, "supportsSetVariable": true } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "launch", "arguments": { "type": "PowerShell", "request": "launch", "name": "Start - Test.xml", "script": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts/Install.ps1", "args": [ "-ConfigPath ./Test.xml" ], "cwd": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts", "internalConsoleOptions": "neverOpen" }, "type": "request", "seq": 2 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "HandleLaunchRequest" at line 260 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Working dir set to: c:\Users\christopher.mcgrath\Desktop\InstallScripts 3/16/2017 11:05:24 AM [VERBOSE] - Method "HandleLaunchRequest" at line 268 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Script arguments are: -ConfigPath ./Test.xml 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 2, "command": "launch", "success": true, "body": null } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "event", "event": "initialized", "body": null } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "evaluate", "arguments": { "expression": "$InformationPreference", "context": "watch" }, "type": "request", "seq": 3 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 3, "command": "evaluate", "success": true, "body": { "result": null, "variablesReference": 0 } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "setBreakpoints", "arguments": { "source": { "path": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "name": "PackageInstaller.psm1" }, "lines": [ 80, 96, 95 ], "breakpoints": [ { "line": 80 }, { "line": 96 }, { "line": 95 } ], "sourceModified": false }, "type": "request", "seq": 4 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 4, "command": "setBreakpoints", "success": true, "body": { "breakpoints": [ { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 80, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 96, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 95, "column": 0 } ] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "setFunctionBreakpoints", "arguments": { "breakpoints": [] }, "type": "request", "seq": 5 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Get-PSBreakpoint Microsoft.PowerShell.Utility\Remove-PSBreakpoint 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 5, "command": "setFunctionBreakpoints", "success": true, "body": { "breakpoints": [] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "configurationDone", "type": "request", "seq": 6 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): c:\Users\christopher.mcgrath\Desktop\InstallScripts/Install.ps1 -ConfigPath ./Test.xml Out-Default 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 6, "command": "configurationDone", "success": true, "body": null } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "threads", "type": "request", "seq": 7 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 7, "command": "threads", "success": true, "body": { "threads": [ { "id": 1, "name": "Main Thread" } ] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnDebuggerStop" at line 1480 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Debugger stopped execution. 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Stopped 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: @{ 'prompt' = prompt; 'computerName' = $env:ComputerName; 'processId' = $PID; 'instanceId' = $host.InstanceId } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: $global:__psEditorServices_CallStack = Get-PSCallStack; $global:__psEditorServices_CallStack 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnDebuggerStop" at line 1512 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Starting pipeline thread message loop... 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "event", "event": "stopped", "body": { "reason": "breakpoint", "threadId": 1, "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "sourceReference": null }, "line": 80, "column": 9, "text": null } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "threads", "type": "request", "seq": 8 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 8, "command": "threads", "success": true, "body": { "threads": [ { "id": 1, "name": "Main Thread" } ] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "stackTrace", "arguments": { "threadId": 1, "startFrame": 0, "levels": 20 }, "type": "request", "seq": 9 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 9, "command": "stackTrace", "success": true, "body": { "stackFrames": [ { "id": 0, "name": "Install-Packages", "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "sourceReference": null }, "line": 80, "column": 0 }, { "id": 1, "name": "", "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\Install.ps1", "sourceReference": null }, "line": 26, "column": 0 }, { "id": 2, "name": "", "source": { "name": null, "path": "", "sourceReference": null }, "line": 1, "column": 0 } ] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "evaluate", "arguments": { "expression": "$InformationPreference", "frameId": 0, "context": "watch" }, "type": "request", "seq": 10 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:05:24 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: $InformationPreference 3/16/2017 11:05:24 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 10, "command": "evaluate", "success": true, "body": { "result": null, "variablesReference": 0 } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "scopes", "arguments": { "frameId": 0 }, "type": "request", "seq": 11 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 11, "command": "scopes", "success": true, "body": { "scopes": [ { "name": "Auto", "variablesReference": 72, "expensive": false }, { "name": "Local", "variablesReference": 73, "expensive": false }, { "name": "Script", "variablesReference": 55, "expensive": true }, { "name": "Global", "variablesReference": 1, "expensive": true } ] } } 3/16/2017 11:05:24 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 72 }, "type": "request", "seq": 12 } 3/16/2017 11:05:24 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 12, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 85 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:05:25 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 72 }, "type": "request", "seq": 13 } 3/16/2017 11:05:25 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 13, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 85 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:05:25 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 73 }, "type": "request", "seq": 14 } 3/16/2017 11:05:25 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 14, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$false", "value": "$false", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$input", "value": "[ArrayList: 0]", "variablesReference": 77 }, { "name": "$MaximumAliasCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumDriveCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumErrorCount", "value": "256", "variablesReference": 0 }, { "name": "$MaximumFunctionCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumVariableCount", "value": "4096", "variablesReference": 0 }, { "name": "$MyInvocation", "value": "[InvocationInfo]", "variablesReference": 83 }, { "name": "$null", "value": "$null", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 85 }, { "name": "$PSBoundParameters", "value": "[PSBoundParametersDictionary: 0]", "variablesReference": 86 }, { "name": "$PSCmdlet", "value": "[PSScriptCmdlet]", "variablesReference": 87 }, { "name": "$PSCommandPath", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1\"", "variablesReference": 0 }, { "name": "$PSDebugContext", "value": "[PSDebugContext]", "variablesReference": 89 }, { "name": "$PSItem", "value": "$null", "variablesReference": 0 }, { "name": "$PSScriptRoot", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\"", "variablesReference": 0 }, { "name": "$true", "value": "$true", "variablesReference": 0 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:05:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 72 }, "type": "request", "seq": 15 } 3/16/2017 11:05:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 15, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 85 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:05:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 73 }, "type": "request", "seq": 16 } 3/16/2017 11:05:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 16, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$false", "value": "$false", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$input", "value": "[ArrayList: 0]", "variablesReference": 77 }, { "name": "$MaximumAliasCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumDriveCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumErrorCount", "value": "256", "variablesReference": 0 }, { "name": "$MaximumFunctionCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumVariableCount", "value": "4096", "variablesReference": 0 }, { "name": "$MyInvocation", "value": "[InvocationInfo]", "variablesReference": 83 }, { "name": "$null", "value": "$null", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 85 }, { "name": "$PSBoundParameters", "value": "[PSBoundParametersDictionary: 0]", "variablesReference": 86 }, { "name": "$PSCmdlet", "value": "[PSScriptCmdlet]", "variablesReference": 87 }, { "name": "$PSCommandPath", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1\"", "variablesReference": 0 }, { "name": "$PSDebugContext", "value": "[PSDebugContext]", "variablesReference": 89 }, { "name": "$PSItem", "value": "$null", "variablesReference": 0 }, { "name": "$PSScriptRoot", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\"", "variablesReference": 0 }, { "name": "$true", "value": "$true", "variablesReference": 0 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:05:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "continue", "arguments": { "threadId": 1 }, "type": "request", "seq": 17 } 3/16/2017 11:05:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 17, "command": "continue", "success": true, "body": null } 3/16/2017 11:05:34 AM [VERBOSE] - Method "OnDebuggerStop" at line 1527 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received debugger resume action Continue 3/16/2017 11:05:34 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:05:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "evaluate", "arguments": { "expression": "$InformationPreference", "context": "watch" }, "type": "request", "seq": 18 } 3/16/2017 11:05:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 18, "command": "evaluate", "success": true, "body": { "result": null, "variablesReference": 0 } } 3/16/2017 11:05:34 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:05:35 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:05:35 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:05:36 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:05:39 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:05:39 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:05:39 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:05:40 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:05:41 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:05:59 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:05:59 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:06:02 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:06:03 AM [VERBOSE] - Method "NotifyBeginApplication" at line 134 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyBeginApplication() called. 3/16/2017 11:06:05 AM [VERBOSE] - Method "NotifyEndApplication" at line 140 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\SessionPSHost.cs NotifyEndApplication() called. 3/16/2017 11:06:05 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:05 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:05 AM [VERBOSE] - Method "OnExecutionCompleted" at line 110 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Execution completed, terminating... 3/16/2017 11:06:05 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "event", "event": "terminated", "body": { "restart": false } } 3/16/2017 11:06:05 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "disconnect", "arguments": { "restart": false }, "type": "request", "seq": 19 } 3/16/2017 11:06:05 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 19, "command": "disconnect", "success": true, "body": null } 3/16/2017 11:06:05 AM [NORMAL] - Method "Shutdown" at line 167 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Debug adapter is shutting down... 3/16/2017 11:06:05 AM [VERBOSE] - Method "Shutdown" at line 58 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\Channel\TcpSocketServerChannel.cs TCP listener has been stopped 3/16/2017 11:06:05 AM [VERBOSE] - Method "Shutdown" at line 70 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\Channel\TcpSocketServerChannel.cs TCP client has been closed 3/16/2017 11:06:05 AM [NORMAL] - Method "StartDebugService" at line 195 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs Previous debug session ended, restarting debug service... 3/16/2017 11:06:05 AM [NORMAL] - Method "StartDebugService" at line 209 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs Debug service started, listening on port 28865 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "initialize", "arguments": { "clientID": "vscode", "adapterID": "PowerShell", "pathFormat": "path", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsVariablePaging": true, "supportsRunInTerminalRequest": true }, "type": "request", "seq": 1 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 1, "command": "initialize", "success": true, "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": false, "supportsSetVariable": true } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "launch", "arguments": { "type": "PowerShell", "request": "launch", "name": "Start - Test.xml", "script": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts/Install.ps1", "args": [ "-ConfigPath ./Test.xml" ], "cwd": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts", "internalConsoleOptions": "neverOpen" }, "type": "request", "seq": 2 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "HandleLaunchRequest" at line 260 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Working dir set to: c:\Users\christopher.mcgrath\Desktop\InstallScripts 3/16/2017 11:06:30 AM [VERBOSE] - Method "HandleLaunchRequest" at line 268 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Script arguments are: -ConfigPath ./Test.xml 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 2, "command": "launch", "success": true, "body": null } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "event", "event": "initialized", "body": null } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "evaluate", "arguments": { "expression": "$InformationPreference", "context": "watch" }, "type": "request", "seq": 3 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 3, "command": "evaluate", "success": true, "body": { "result": null, "variablesReference": 0 } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "setBreakpoints", "arguments": { "source": { "path": "c:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "name": "PackageInstaller.psm1" }, "lines": [ 80, 96, 95 ], "breakpoints": [ { "line": 80 }, { "line": 96 }, { "line": 95 } ], "sourceModified": false }, "type": "request", "seq": 4 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Remove-PSBreakpoint 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 4, "command": "setBreakpoints", "success": true, "body": { "breakpoints": [ { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 80, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 96, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 95, "column": 0 } ] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "setFunctionBreakpoints", "arguments": { "breakpoints": [] }, "type": "request", "seq": 5 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): Microsoft.PowerShell.Utility\Get-PSBreakpoint Microsoft.PowerShell.Utility\Remove-PSBreakpoint 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Completed 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 488 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution completed successfully. 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 5, "command": "setFunctionBreakpoints", "success": true, "body": { "breakpoints": [] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "configurationDone", "type": "request", "seq": 6 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 430 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s): c:\Users\christopher.mcgrath\Desktop\InstallScripts/Install.ps1 -ConfigPath ./Test.xml Out-Default 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 6, "command": "configurationDone", "success": true, "body": null } 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Running Result: NotFinished 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "threads", "type": "request", "seq": 7 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 7, "command": "threads", "success": true, "body": { "threads": [ { "id": 1, "name": "Main Thread" } ] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnDebuggerStop" at line 1480 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Debugger stopped execution. 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Running New state: Ready Result: Stopped 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: @{ 'prompt' = prompt; 'computerName' = $env:ComputerName; 'processId' = $PID; 'instanceId' = $host.InstanceId } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: $global:__psEditorServices_CallStack = Get-PSCallStack; $global:__psEditorServices_CallStack 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Get-Variable 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnDebuggerStop" at line 1512 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Starting pipeline thread message loop... 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "event", "event": "stopped", "body": { "reason": "breakpoint", "threadId": 1, "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "sourceReference": null }, "line": 80, "column": 9, "text": null } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "threads", "type": "request", "seq": 8 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 8, "command": "threads", "success": true, "body": { "threads": [ { "id": 1, "name": "Main Thread" } ] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "stackTrace", "arguments": { "threadId": 1, "startFrame": 0, "levels": 20 }, "type": "request", "seq": 9 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 9, "command": "stackTrace", "success": true, "body": { "stackFrames": [ { "id": 0, "name": "Install-Packages", "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "sourceReference": null }, "line": 80, "column": 0 }, { "id": 1, "name": "", "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\Install.ps1", "sourceReference": null }, "line": 26, "column": 0 }, { "id": 2, "name": "", "source": { "name": null, "path": "", "sourceReference": null }, "line": 1, "column": 0 } ] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "evaluate", "arguments": { "expression": "$InformationPreference", "frameId": 0, "context": "watch" }, "type": "request", "seq": 10 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:06:30 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: $InformationPreference 3/16/2017 11:06:30 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 10, "command": "evaluate", "success": true, "body": { "result": null, "variablesReference": 0 } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "scopes", "arguments": { "frameId": 0 }, "type": "request", "seq": 11 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 11, "command": "scopes", "success": true, "body": { "scopes": [ { "name": "Auto", "variablesReference": 73, "expensive": false }, { "name": "Local", "variablesReference": 74, "expensive": false }, { "name": "Script", "variablesReference": 56, "expensive": true }, { "name": "Global", "variablesReference": 1, "expensive": true } ] } } 3/16/2017 11:06:30 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 73 }, "type": "request", "seq": 12 } 3/16/2017 11:06:30 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 12, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 86 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:06:31 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 5, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 77, "character": 12 }, "end": { "line": 78, "character": 52 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:31 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "5", "result": [] } 3/16/2017 11:06:32 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 6, "method": "textDocument/documentHighlight", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 78, "character": 52 } } } 3/16/2017 11:06:32 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:32 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "6", "result": [ { "range": { "start": { "line": 33, "character": 8 }, "end": { "line": 33, "character": 13 } }, "kind": 3 }, { "range": { "start": { "line": 37, "character": 16 }, "end": { "line": 37, "character": 21 } }, "kind": 3 }, { "range": { "start": { "line": 45, "character": 31 }, "end": { "line": 45, "character": 36 } }, "kind": 3 }, { "range": { "start": { "line": 48, "character": 31 }, "end": { "line": 48, "character": 36 } }, "kind": 3 }, { "range": { "start": { "line": 51, "character": 31 }, "end": { "line": 51, "character": 36 } }, "kind": 3 }, { "range": { "start": { "line": 63, "character": 50 }, "end": { "line": 63, "character": 55 } }, "kind": 3 }, { "range": { "start": { "line": 74, "character": 8 }, "end": { "line": 74, "character": 13 } }, "kind": 3 }, { "range": { "start": { "line": 78, "character": 47 }, "end": { "line": 78, "character": 52 } }, "kind": 3 }, { "range": { "start": { "line": 83, "character": 41 }, "end": { "line": 83, "character": 46 } }, "kind": 3 }, { "range": { "start": { "line": 84, "character": 43 }, "end": { "line": 84, "character": 48 } }, "kind": 3 }, { "range": { "start": { "line": 132, "character": 56 }, "end": { "line": 132, "character": 61 } }, "kind": 3 }, { "range": { "start": { "line": 136, "character": 12 }, "end": { "line": 136, "character": 17 } }, "kind": 3 }, { "range": { "start": { "line": 137, "character": 59 }, "end": { "line": 137, "character": 64 } }, "kind": 3 }, { "range": { "start": { "line": 149, "character": 99 }, "end": { "line": 149, "character": 104 } }, "kind": 3 }, { "range": { "start": { "line": 155, "character": 104 }, "end": { "line": 155, "character": 109 } }, "kind": 3 }, { "range": { "start": { "line": 239, "character": 37 }, "end": { "line": 239, "character": 42 } }, "kind": 3 }, { "range": { "start": { "line": 285, "character": 37 }, "end": { "line": 285, "character": 42 } }, "kind": 3 }, { "range": { "start": { "line": 301, "character": 37 }, "end": { "line": 301, "character": 42 } }, "kind": 3 }, { "range": { "start": { "line": 341, "character": 37 }, "end": { "line": 341, "character": 42 } }, "kind": 3 }, { "range": { "start": { "line": 360, "character": 37 }, "end": { "line": 360, "character": 42 } }, "kind": 3 } ] } 3/16/2017 11:06:32 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 7, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 78, "character": 48 }, "end": { "line": 78, "character": 52 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:32 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "7", "result": [] } 3/16/2017 11:06:33 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 78, "character": 52 }, "end": { "line": 78, "character": 52 } }, "rangeLength": 0, "text": "\r\n " } ] } } 3/16/2017 11:06:33 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:34 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:34 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:34 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:06:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 8 } }, "rangeLength": 0, "text": "I" } ] } } 3/16/2017 11:06:34 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 8, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 9 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:34 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "8", "result": [] } 3/16/2017 11:06:34 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 9, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 9 } } } 3/16/2017 11:06:34 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:35 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:35 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:35 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:35 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 9 }, "end": { "line": 79, "character": 9 } }, "rangeLength": 0, "text": "n" } ] } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 10, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 10 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "10", "result": [] } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 10 }, "end": { "line": 79, "character": 10 } }, "rangeLength": 0, "text": "o" } ] } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 11, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 11 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "11", "result": [] } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 10 }, "end": { "line": 79, "character": 11 } }, "rangeLength": 1, "text": "" } ] } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 12, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 10 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "12", "result": [] } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 13, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 10 } } } 3/16/2017 11:06:39 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:40 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 on3/16/2017 11:06:40 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 on3/16/2017 11:06:41 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "setBreakpoints", "arguments": { "source": { "name": null, "path": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "sourceReference": null }, "lines": [ 81, 97, 96 ], "breakpoints": [ { "line": 81 }, { "line": 97 }, { "line": 96 } ], "sourceModified": true }, "type": "request", "seq": 13 } 3/16/2017 11:06:41 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: C:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Microsoft.PowerShell.Utility\Remove-PSBreakpoint 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommand" at line 391 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Passing command execution to pipeline thread. 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1554 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received pipeline thread execution request. 3/16/2017 11:06:41 AM [VERBOSE] - Method "ExecuteCommandInDebugger" at line 1078 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Attempting to execute command(s) in the debugger: Microsoft.PowerShell.Utility\Set-PSBreakpoint 3/16/2017 11:06:41 AM [VERBOSE] - Method "OnDebuggerStop" at line 1563 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Pipeline thread execution completed. 3/16/2017 11:06:41 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 13, "command": "setBreakpoints", "success": true, "body": { "breakpoints": [ { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 81, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 97, "column": 0 }, { "verified": true, "message": null, "source": "C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1", "line": 96, "column": 0 } ] } } 3/16/2017 11:06:41 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:41 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:41 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:06:41 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:41 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:41 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:06:44 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 9 }, "end": { "line": 79, "character": 10 } }, "rangeLength": 1, "text": "" } ] } } 3/16/2017 11:06:44 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:44 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 14, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 9 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:06:44 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "14", "result": [] } 3/16/2017 11:06:44 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 15, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 9 } } } 3/16/2017 11:06:44 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:45 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:45 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:45 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:45 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:06:49 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 9 } }, "rangeLength": 1, "text": "" } ] } } 3/16/2017 11:06:49 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:50 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:06:50 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:06:50 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:06:50 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:10:48 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 73 }, "type": "request", "seq": 14 } 3/16/2017 11:10:48 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 14, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 86 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:10:48 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "variables", "arguments": { "variablesReference": 74 }, "type": "request", "seq": 15 } 3/16/2017 11:10:48 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 15, "command": "variables", "success": true, "body": { "variables": [ { "name": "$_", "value": "$null", "variablesReference": 0 }, { "name": "$false", "value": "$false", "variablesReference": 0 }, { "name": "$Id", "value": "\"\"", "variablesReference": 0 }, { "name": "$input", "value": "[ArrayList: 0]", "variablesReference": 78 }, { "name": "$MaximumAliasCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumDriveCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumErrorCount", "value": "256", "variablesReference": 0 }, { "name": "$MaximumFunctionCount", "value": "4096", "variablesReference": 0 }, { "name": "$MaximumVariableCount", "value": "4096", "variablesReference": 0 }, { "name": "$MyInvocation", "value": "[InvocationInfo]", "variablesReference": 84 }, { "name": "$null", "value": "$null", "variablesReference": 0 }, { "name": "$packages", "value": "[Object[10]]", "variablesReference": 86 }, { "name": "$PSBoundParameters", "value": "[PSBoundParametersDictionary: 0]", "variablesReference": 87 }, { "name": "$PSCmdlet", "value": "[PSScriptCmdlet]", "variablesReference": 88 }, { "name": "$PSCommandPath", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\\PackageInstaller.psm1\"", "variablesReference": 0 }, { "name": "$PSDebugContext", "value": "[PSDebugContext]", "variablesReference": 90 }, { "name": "$PSItem", "value": "$null", "variablesReference": 0 }, { "name": "$PSScriptRoot", "value": "\"C:\\Users\\christopher.mcgrath\\Desktop\\InstallScripts\"", "variablesReference": 0 }, { "name": "$true", "value": "$true", "variablesReference": 0 }, { "name": "$Type", "value": "All", "variablesReference": 0 } ] } } 3/16/2017 11:10:49 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 8 } }, "rangeLength": 0, "text": "G" } ] } } 3/16/2017 11:10:49 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:49 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 16, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 9 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:10:49 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "16", "result": [] } 3/16/2017 11:10:49 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 17, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 9 } } } 3/16/2017 11:10:49 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:49 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:50 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:10:50 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:10:50 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 9 }, "end": { "line": 79, "character": 9 } }, "rangeLength": 0, "text": "e" } ] } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 18, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 10 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "18", "result": [] } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 10 }, "end": { "line": 79, "character": 10 } }, "rangeLength": 0, "text": "t" } ] } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 19, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 11 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "19", "result": [] } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/didChange", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "contentChanges": [ { "range": { "start": { "line": 79, "character": 11 }, "end": { "line": 79, "character": 11 } }, "rangeLength": 0, "text": "-" } ] } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 20, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 12 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "20", "result": [] } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 21, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 12 } } } 3/16/2017 11:10:54 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:54 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1330 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analyzing script file: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:10:55 AM [VERBOSE] - Method "GetDiagnosticRecordsAsync" at line 327 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Analysis\AnalysisService.cs Found 0 violations 3/16/2017 11:10:55 AM [VERBOSE] - Method "DelayThenInvokeDiagnostics" at line 1334 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Analysis complete. 3/16/2017 11:10:55 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "diagnostics": [] } } 3/16/2017 11:10:59 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 22, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 12 } } } 3/16/2017 11:10:59 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:12:10 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 23, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 81, "character": 5 }, "end": { "line": 81, "character": 5 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:12:10 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "23", "result": [] } 3/16/2017 11:12:12 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 24, "method": "textDocument/documentHighlight", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 11 } } } 3/16/2017 11:12:12 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:12:12 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "24", "result": [ { "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 12 } }, "kind": 3 } ] } 3/16/2017 11:12:12 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 25, "method": "textDocument/codeAction", "params": { "textDocument": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1" }, "range": { "start": { "line": 79, "character": 8 }, "end": { "line": 79, "character": 12 } }, "context": { "diagnostics": [] } } } 3/16/2017 11:12:12 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "25", "result": [] } 3/16/2017 11:12:13 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 26, "method": "textDocument/completion", "params": { "uri": "file:///c%3A/Users/christopher.mcgrath/Desktop/InstallScripts/PackageInstaller.psm1", "position": { "line": 79, "character": 12 } } } 3/16/2017 11:12:13 AM [VERBOSE] - Method "ResolveFilePath" at line 294 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Workspace\Workspace.cs Resolved path: c:\Users\christopher.mcgrath\Desktop\InstallScripts\PackageInstaller.psm1 3/16/2017 11:13:10 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "command": "disconnect", "arguments": { "restart": false }, "type": "request", "seq": 16 } 3/16/2017 11:13:10 AM [VERBOSE] - Method "AbortExecution" at line 805 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Execution abort requested... 3/16/2017 11:13:10 AM [VERBOSE] - Method "OnSessionStateChanged" at line 1043 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Session state changed -- Old state: Ready New state: Aborting Result: NotFinished 3/16/2017 11:13:10 AM [VERBOSE] - Method "ReadMessage" at line 111 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageReader.cs READ MESSAGE: { "jsonrpc": "2.0", "id": 27, "method": "shutdown" } 3/16/2017 11:13:10 AM [VERBOSE] - Method "OnDebuggerStop" at line 1527 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs Received debugger resume action Stop 3/16/2017 11:13:10 AM [NORMAL] - Method "Shutdown" at line 164 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\LanguageServer.cs Language service is shutting down... 3/16/2017 11:13:10 AM [VERBOSE] - Method "OnExecutionCompleted" at line 110 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Execution completed, terminating... 3/16/2017 11:13:10 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "type": "response", "request_seq": 16, "command": "disconnect", "success": true, "body": null } 3/16/2017 11:13:10 AM [VERBOSE] - Method "WriteMessage" at line 59 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageWriter.cs WRITE MESSAGE: { "jsonrpc": "2.0", "id": "27", "result": {} } 3/16/2017 11:13:10 AM [NORMAL] - Method "Shutdown" at line 167 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs Debug adapter is shutting down... 3/16/2017 11:13:10 AM [ERROR] - Method "OnListenTaskCompleted" at line 337 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageDispatcher.cs MessageDispatcher loop terminated due to unhandled exception: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.PowerShell.EditorServices.Protocol.LanguageServer.RunspaceDetails..ctor(RunspaceDetails eventArgs) at Microsoft.PowerShell.EditorServices.Protocol.Server.LanguageServer.d__49.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at Microsoft.PowerShell.EditorServices.Utility.ThreadSynchronizationContext.RunLoopOnCurrentThread() at Microsoft.PowerShell.EditorServices.Utility.AsyncContext.Start(Func`1 asyncMainFunc) at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.PowerShell.EditorServices.Protocol.LanguageServer.RunspaceDetails..ctor(RunspaceDetails eventArgs) at Microsoft.PowerShell.EditorServices.Protocol.Server.LanguageServer.d__49.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at Microsoft.PowerShell.EditorServices.Utility.ThreadSynchronizationContext.RunLoopOnCurrentThread() at Microsoft.PowerShell.EditorServices.Utility.AsyncContext.Start(Func`1 asyncMainFunc) at System.Threading.Tasks.Task.Execute()<---