Does anyone know how to view print statement in the Output? I followed directions here, with no luck.
You can only view the printed/logged message via the Visual Studio “Output” panel while debugging your app.
That is, you have to click the [>] button on the Visual Studio toolbar to build/deploy/run your app under the Visual Studio debugger. You can see the button you need to click via the video here…
While your app is running under the Visual Studio debugger, your logged messages can be seen in the Visual Studio “Output” panel. If you can’t find the panel, then go to the Visual Studio menu and click the “View\Output” menu item to make the panel appear.
Joshua,
Do you need an actual device connected, or can it run in the Windows phone simulator? I do not have a WinPhone device at this time.
thanks
Yes, you can debug and view the output via Visual Studio’s Windows Phone emulator. You just need to build for “Debug|x86” as shown here…
https://docs.coronalabs.com/daily/coronacards/wp8/build.html#building-for-the-emulator
Hmm… I figured that was the case, but I could not get it to work. I added a print statement to the default “hello world” project, and it does not show in the output window.
Is your app actually running in the WP8 emulator?
Do you see the Hello World project actually getting displayed onscreen?
Josh,
Yes, I do. I see the Hello World app. I added a simple print (“Hello”) to main.lua and it is not displaying in the output window.
Are there any other settings i need to change?
thanks
Well, I completely blew away VS2013 and did a reinstall and everything seems to be working.
Weird to say the least.
thanks!
–john
You can only view the printed/logged message via the Visual Studio “Output” panel while debugging your app.
That is, you have to click the [>] button on the Visual Studio toolbar to build/deploy/run your app under the Visual Studio debugger. You can see the button you need to click via the video here…
While your app is running under the Visual Studio debugger, your logged messages can be seen in the Visual Studio “Output” panel. If you can’t find the panel, then go to the Visual Studio menu and click the “View\Output” menu item to make the panel appear.
Joshua,
Do you need an actual device connected, or can it run in the Windows phone simulator? I do not have a WinPhone device at this time.
thanks
Yes, you can debug and view the output via Visual Studio’s Windows Phone emulator. You just need to build for “Debug|x86” as shown here…
https://docs.coronalabs.com/daily/coronacards/wp8/build.html#building-for-the-emulator
Hmm… I figured that was the case, but I could not get it to work. I added a print statement to the default “hello world” project, and it does not show in the output window.
Is your app actually running in the WP8 emulator?
Do you see the Hello World project actually getting displayed onscreen?
Josh,
Yes, I do. I see the Hello World app. I added a simple print (“Hello”) to main.lua and it is not displaying in the output window.
Are there any other settings i need to change?
thanks
Well, I completely blew away VS2013 and did a reinstall and everything seems to be working.
Weird to say the least.
thanks!
–john