How to show output logs of installed device apps in Visual Studio output?

113 Views Asked by At

Having a Windows Phone device, is it possible the see the output of a installed app into the output of Visual Studio?

Like Android Studio does with logcat.

I guess it's a way to do it with Visual Studio but can't find any info on the web.

1

There are 1 best solutions below

0
Soonts On

Build your app in debug configuration, use Debug.WriteLine (.NET) and/or OutputDebugString (C++) function to print messages, launch your app with debugger, and you’ll see the output in visual studio on the Output pane.

If however you want messages from release builds, without USB cable or without Visual Studio, I don’t know built-in ways. When I needed that, I’ve implemented Syslog UDP client on the phone, and used a freeware syslog server to read these messages in real time. Just don't forget to disable that functionality for your marketplace build.