AccessViolationException While Debugging over SSH

After writing my last blog post about debugging .NET Core in the Windows Subsystem for Linux I quickly found an issue. At first I thought it was a problem with my code but I believe it is a larger issue with debugging over SSH.  It doesn’t seem to matter where I place the breakpoint in my code, after breaking it thows an AccessViolationException.  If I don’t break and only attach it appears to work as expected.

I found a similar issue in back from VS2013 – https://connect.microsoft.com/VisualStudio/feedback/details/819552/visual-studio-debugger-throws-accessviolationexception

Looks like a similar bug has been created for Visual Studio 2017 and debugging across SSH to Linux.  If you also experience this bug please add a comment in the issue I created in the Visual Studio Connect site:

https://connect.microsoft.com/VisualStudio/feedback/details/3132865

image

Hopefully this will help Microsoft prioritize the bug higher and result in a faster fix.

Cheers!

1 thought on “AccessViolationException While Debugging over SSH”

  1. Pingback: Debugging .NET Core From VS2017 on Windows Subsystem for Linux – dotnet catch

Leave a Reply