monodevelop.netcoredbg icon indicating copy to clipboard operation
monodevelop.netcoredbg copied to clipboard

Debugger operation failed.

Open Bukrin opened this issue 6 years ago • 4 comments

When I start debugging a project, I get the exception "Debugger operation failed. Failed command 'configurationDone': 0x80070005". Sometimes when I start monodevelop with root rights debugger is working. I was set rwX flags to all directory and files by path /home/user, but the problem is not resolved.

OS: ubuntu 18.04 MonoDevelop Version 7.8.2 (build 2)

.NET Core Runtime: /usr/share/dotnet/dotnet Runtime Version: 2.2.4 SDK: /usr/share/dotnet/sdk/2.2.106/Sdks SDK Version: 2.2.106 MSBuild SDKs: /usr/lib/mono/msbuild/15.0/bin/Sdks

Bukrin avatar May 18 '19 14:05 Bukrin

Debugger log:

ERROR [manageddebugger.cpp:1274] g_dbgshim.CreateProcessForLaunch(reinterpret_cast<LPWSTR>(const_cast<WCHAR*>(to_utf16(ss.str()).c_str())), TRUE, NULL, NULL, &m_processId, &resumeHandle) : 0x80070005

Bukrin avatar May 25 '19 18:05 Bukrin

Sounds like the Samsung debugger crashed, and it crashed right before my modification,

https://github.com/lextm/netcoredbg/commit/316c96b04cdcb68fb985936da2fd399824b5176e

Not quite sure what might be the cause.

Is this crash intermittent (happens sometimes) or constantly (always)?

lextm avatar May 26 '19 16:05 lextm

This happens constantly, but sometimes it starts to work (with a little chance) when I'm switch to root user and then back. And it works until I restart the OS.

g_dbgshim.CreateProcessForLaunch first parameter is: "dotnet" "/home/neonicks/Projects/NetCoreTestLinux/CoreApp/bin/Debug/netcoreapp2.2/CoreApp.dll"

/usr/share/dotnet/dotnet has -rwxr-xr-x attributes, group root and owner root. CoreApp.dll has -rwxrwxrwx

Bukrin avatar May 26 '19 18:05 Bukrin

It is kind of strange, but I could not reproduce this on Ubuntu 18.04. I have no idea how to debug further either.

lextm avatar May 27 '19 03:05 lextm