Closed arivoir closed 2 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I also reported here https://developercommunity.visualstudio.com/t/Debugging-an-native-Android-library-is-b/10694337?
I found a repro case AndroidDebuggerIssue.zip
The bug regarding debugger appears when library target net7 and application net8
Tagging subscribers to this area: @thaystg See info in area-owners.md if you want to be subscribed.
Description
For some months we've been having issues to debug native Android libraries, if I set a breakpoint in the application it works, but if I set a breakpoint in a library it is completely ignored.
Additionally, I see the following in the Debug console
And the crash show some exception that I can not understand how it happens The debugging shows nothing for the local field "thickness" but three dots, and I can not comprehend how something can be null here, when there is an if before that to avoid it, and the properties are of type double.
We're in a critical situation where we can not continue developing, because the debugger doesn't work, and the runtime exceptions are incomprehensible.
Steps to Reproduce
I don't have a reproduction steps for now
Link to public reproduction project repository
No response
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
6.0
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output