-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed command 'configurationDone':0x80131c3c #111
Comments
How do you launch netcoredbg? Do you use it from some IDE? |
Yes, it is an IDE that we make. We launch netcoredbg as a process ( Here is the actual code that we use to start a debug session after
This code is a thin wrapper that sends DAP requests. |
Looks like you have same issue - #98 |
@akorchev check that all libraries and binaries (e.g. dotnet sdk, dbgshim, netcoredbg) that you use are for osx-arm64, not osx-amd64. Looks like you have some osx-amd64 lib. See #98 (comment) for more details. |
@viewizard yes, the error message is the same however I have built netcoredbg for macos arm64 and have it running on multiple machines without issues. It is only one user (so far) that is reporting this problem on identical configuration. @gbalykov I have tripple checked that - the dbgshim and netcoredbg are for arm64. Here is the output of the
The only thing I don't have control over is the installed .NET framework. However
To me it seems that everything is arm64. Do you see any issues? Is there any way I can get a more detailed error message than 0x80131c3c? |
How are apps launched? Can 6.0 osx-amd64 sdk be used for some reason? |
I am launching the app with |
I asked the user to add this code to their app (which is started with
The output he got was this:
which makes me think the .NET SDK being used is for arm64. Anything else I could try? Some more detailed logging that I could enable in |
You can try smth like strace to track all loaded libraries, but not sure whether it's available for mac or not. |
The error seems to be CORDBG_E_DEBUG_COMPONENT_MISSING which means libmscordbi.dylib or libmscordaccore.dylib can't be found or loaded. Do you know if some environment variable could interfere with finding those files? |
After a lot of trial and error it turned out to be an issue caused by the macOS hardened runtime. Loading libraries requires this to be included in the plist when signing your application:
Hopefully this would help someone. |
Hi,
I have a weird issue which I don't know how to solve. It happens on a user machine (MacBook Pro, M1) which is identical to mine where this error doesn't happen. Debugging fails with 0x80131c3c which according to another issue indicates that dbgshim fails to load. Here is the complete log:
Some background. I have successfully built netcoredbg for Mac M1 by following #103 - everything works fine on three different M1 macs that I have access to. I am sure I am bundling
libdbgshim.dylib
from the DbgShim nuget package (using the latest version 7.0.410101). I have also requested the user to show me the log ofdotnet --info
and it seems he has the arm64 version of .NET framework 7 installed. Everything is exactly the same as my system - macOS version, .NET version etc. Does this error happen in cases that are different than dbgshim mismatch? Any other tips how to troubleshoot this further?The text was updated successfully, but these errors were encountered: