MAUI .NET 8 on Android - Debug with Breakpoint is not working

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to debug the project with the Android mobile with breakpoint, it was not working, the app just got terminated. 

JetBrains Rider 2024.1.4

Build #RD-241.18034.76, built on June 23, 2024 

how do resolve this issue?

0
4 comments

Hello Sysadmin ,

Thank you for reaching Rider Forum.

Could you please let me know the following: 

  1. What Operating System are you using? 
  2. Could you please also let me know what configuration you tried to debug?
  3. Could you please reproduce the issue and share logs from Help > Collect Logs and Diagnostic Data and then upload to our shared storage at https://uploads.jetbrains.com and provide the ID of the upload;
  4. If possible, a sample of the solution would be handy as well. 

Thank you in advance. 

 

0

1. What Operating System are you using?

    > Mac System

2. Could you please also let me know what configuration you tried to debug?

    > MAUI Android -  debug mode by connecting android mobile. breakpoints are not working, debug is terminated and app closed immediately. line by line code exceution is not working. 

3. Could you please reproduce the issue and share logs from Help > Collect Logs and Diagnostic Data and then upload to our shared storage at https://uploads.jetbrains.com and provide the ID of the upload;

    UploadID : Upload id: 2024_10_22_wuKdciFm7HthsaSmrXQkar (file: rider-logs-20241022-17550212346650524233355622.zip)  

 

0

Any solution to resolve this issue?

One more question, why all debugger actions are disabled?

0
Hello,
Thank you for contacting Rider Support and sorry for the delay in the reply,

Could you please try installing .NET 9 RC2 (https://dotnet.microsoft.com/en-us/download/dotnet/9.0) and try again? 

Looking forward to hearing from you soon.
0

Please sign in to leave a comment.