Skip to content
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

Incorrect information in DevelopmentTips.md documentation file regarding "Adding debug symbols for libmonosgen-2.0.so" #6807

Open
jfichtner opened this issue Mar 3, 2022 · 2 comments
Assignees
Labels
Area: Documentation Issues with documentation.

Comments

@jfichtner
Copy link

Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

Affected platform version

N/A

Description

The "Adding debug symbols for libmonosgen-2.0.so" section of the DevelopmentTips.md file describes how to access the libmonosgen-2.0.so library with debug symbols, but these steps cannot currently be followed as stated. Step 2 says to "find the OSS core section at the bottom of the release information", but this section does not exist in the release pages linked at the link provided in step 1. I tried to find the OSS build in Azure DevOps myself, and I did come across this page, which looks like the DevOps project referenced in the instructions, but the Azure Artifacts section of this DevOps project does not seem to contain a package that has the "xamarin-android/xamarin-android/bin/Release/bundle*.7z" file, as indicated in step 3.

I need to access this native library with debug symbols to debug an issue that I'm having with Xamarin.Android.

Steps to Reproduce

N/A - This is a documentation issue

Did you find any workaround?

No response

Relevant log output

No response

@jfichtner jfichtner added the needs-triage Issues that need to be assigned. label Mar 3, 2022
@jpobst jpobst assigned grendello and unassigned jpobst Mar 3, 2022
@jpobst jpobst added the Area: Documentation Issues with documentation. label Mar 3, 2022
@grendello grendello assigned thaystg and unassigned grendello Mar 3, 2022
@grendello grendello removed the needs-triage Issues that need to be assigned. label Mar 3, 2022
@thaystg
Copy link
Member

thaystg commented Mar 3, 2022

Hi, I think you can find the library with debug symbols here:
"C:\Program Files\Microsoft Visual Studio\2022\[Preview/Enterprise/Community]\MSBuild\Xamarin\Android\lib\arm64-v8a\libmonosgen-2.0.d.so"
Could you find it? Could you debug the runtime?

@jfichtner
Copy link
Author

@thaystg I did find this file in the location you described, thank you! In attempting to use this file, following this section of the DevelopmentTips.md document I found another documentation issue, which is that it states: "Ensure that Android Options > Use Shared Runtime is enabled.", but Shared Runtime apparently is no longer a checkbox that is available in Android Options. This being the case, I don't know if there's something else I should do instead, such as enable Fast Deployment, which may or may not now include using Shared Runtime? Any comment on this would be helpful as well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Issues with documentation.
Projects
None yet
Development

No branches or pull requests

4 participants