Skip to content

MessageDispatcher error on macOS #1173

Closed
@JonZeolla

Description

@JonZeolla

System Details

  • Operating system name and version: macOS 10.13.2
  • VS Code version: 1.19.2
  • PowerShell extension version: 1.5.1
  • Output from $PSVersionTable (and other commands):
> code -v
1.19.2
490ef761b76b3f3b3832eff7a588aac891e5fe80
x64
> $pseditor.EditorServicesVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
1      5      1      0


> code --list-extensions --show-versions
ms-vscode.PowerShell@1.5.1
> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-rc.2
PSEdition                      Core
GitCommitId                    v6.0.0-rc.2
OS                             Darwin 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

I am seeing DispatchMessage errors in my vscode-powershell logs. This may be related to startSessionCommand being removed (microsoft/vscode#33791) per this issue.

Attached Logs

From ~/.vscode/extensions/ms-vscode.powershell-1.5.1/logs/1516906362-f4c99603-def9-4124-a625-19cd0fa620bd1516761624124/EditorServices.log:

1/25/18 1:52:48 PM [ERROR] - Method "DispatchMessage" at line 147 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageDispatcher.cs^M

    MessageDispatcher: No handler registered for Event type 'initialized'

1/25/18 1:52:48 PM [ERROR] - Method "DispatchMessage" at line 147 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageDispatcher.cs^M

    MessageDispatcher: No handler registered for Event type '$/setTraceNotification'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions