Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fix debugging on OS X Sierra #10078

Merged
merged 1 commit into from
Mar 10, 2017
Merged

Fix debugging on OS X Sierra #10078

merged 1 commit into from
Mar 10, 2017

Conversation

mikem8361
Copy link
Member

Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.

@mikem8361 mikem8361 added this to the 2.0.0 milestone Mar 10, 2017
@mikem8361 mikem8361 self-assigned this Mar 10, 2017
@mikem8361 mikem8361 merged commit 74271c7 into dotnet:master Mar 10, 2017
@mikem8361 mikem8361 deleted the osxsierra branch March 10, 2017 18:58
mikem8361 added a commit to mikem8361/coreclr that referenced this pull request Mar 10, 2017
Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.
mikem8361 added a commit to mikem8361/coreclr that referenced this pull request Mar 10, 2017
Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.
mikem8361 added a commit that referenced this pull request Mar 16, 2017
Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.
mikem8361 added a commit that referenced this pull request Mar 16, 2017
Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.
@cxubrix
Copy link

cxubrix commented Mar 28, 2017

After update to 10.12.4 and installation of 2.0.0-preview1-005670 the issue is still there and debuger fails to connect from vscode.

Unable to start debugging. Unexpected CLRDBG output from command "-target-attach 2353"

@mikem8361
Copy link
Member Author

Here is a work around that worked for Gregg Miskelly:

  1. Download https://dotnet.myget.org/F/dotnet-core/api/v2/package/runtime.osx.10.10-x64.Microsoft.NETCore.Runtime.CoreCLR/1.1.2-servicing-25123-01
  2. Open the resulting file as a zip, and copy out runtimes/osx.10.10-x64/native/libdbgshim.dylib
  3. Open a terminal
  4. cd ~/.vscode/extensions/ms-vscode.csharp-1.8.0/.debugger
  5. cp .
    As I said above, but just to repeat here, I expect to have a real fix out soon. But hopefully this will unblock folks in the mean time.

jorive pushed a commit to guhuro/coreclr that referenced this pull request May 4, 2017
Issue #9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants