Getting Debug Logs into Rider console from Android device

Hello,

I fell in love with Rider in the first hour! Awesome work!

I have connected my application from the testing device to Rider and successfully getting breakpoints to work.

The problem is that I am not getting logs into the console. Is there any way to make it work?

Unity 2019.4.20f1

Rider 2020.3.3

 

Input/Output redirection disabled: Debugger is attached to an already running process
"C:\Program Files\JetBrains\JetBrains Rider 2020.3.3\bin\runnerw64.exe" "C:\Program Files\JetBrains\JetBrains Rider 2020.3.3\lib\ReSharperHost\JetBrains.Debugger.Worker.exe" --mode=client --frontend-port=7327 "--plugins=C:\Program Files\JetBrains\JetBrains Rider 2020.3.3\plugins\rider-unity\dotnetDebuggerWorker"

8 comments
Comment actions Permalink

Tried Console.WriteLine. Didn't changed anything.

0
Comment actions Permalink

Hello, as far as I am aware Console.WriteLine() does nothing in Unity project, please see the following answer on Unity forum. Instead of that try using Debug.Log("Text"). In this case you will see the output in Unity tab:

Let me know if that helps.

-1
Comment actions Permalink

Hi Olga,

Sorry, I was not clear. I have managed to connect through USB and WiFi (IP:5555) and able to evaluate the breakpoints, but there is no Debug.Log-s displayed in Rider.

Log-s are displayed in Rider-s Unity tab when I run the app in Unity, but from the device, I am not able to see any Log-s.

Thanks!

1
Comment actions Permalink

Ghellee, I don't seem to get it either, please feel free to open the issue on the corresponding tracker for further processing: https://github.com/JetBrains/resharper-unity/issues

0
Comment actions Permalink

Got back to Unity programming again, got the same problem and accidentally found in Google question posted by me. :))

I get Debug.Log results in Rider after I click play in Unity Editor, but don't get logs from Android device.

Breakpoints on Android are working well.

1
Comment actions Permalink

Yea, i think they don't understand us 😅

0
Comment actions Permalink

We have added a request to support it https://youtrack.jetbrains.com/issue/RIDER-73677. Please feel free to vote it, to get further updates.

1

Please sign in to leave a comment.