Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

A stupid question...

C# output windows

Best Answer Gutworks, 03 February 2014 - 06:55 PM

Hmm. Interesting...

 

Can you right click in the Output window and make sure you have "Program Output" checked? That will also suppress the Debug.Print statements if not checked. 

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 HCB

HCB

    New Member

  • Members
  • Pip
  • 5 posts
  • LocationLiverpool

Posted 03 February 2014 - 03:10 PM

Hi guys,

 

Today, I suddenly found that I can't see the [color=#ff0000;]debug.print output [/color]in the output windows. It was good before, but I don't know why it not work today. See the attach files, please. 

 

Thanks in advance.

Chengbin

Attached Files

  • Attached File  stupid.PNG   60.3KB   2 downloads
  • Attached File  Q2.PNG   73.94KB   1 downloads
  • Attached File  Q3.PNG   66.11KB   1 downloads


#2 Gutworks

Gutworks

    Advanced Member

  • Members
  • PipPipPip
  • 363 posts
  • LocationOttawa, Ontario

Posted 03 February 2014 - 05:09 PM

Hi HCB, 

 

First off, welcome to the Netduino community! That is an odd behaviour. I tried replicating it using NETMF v4.1 and the Emulator, but the output still displayed correctly. I think what may be happening is that your output may be getting redirected to the Immediate Window. I'm not sure how this setting would change on you, but you can correct it with the following steps:

  • In Visual Studio select from the menu Tools -> Options -> Debugging -> General
  • Scroll down and uncheck the setting labelled "[color=rgb(0,0,0);font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;]Redirect all Output Window text to the Immediate Window"[/color]

[color=rgb(0,0,0);font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;]I'm using Visual Studio 2013, but I'm pretty sure the settings are the same in previous versions. [/color]

 

[color=rgb(0,0,0);font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;]Good luck and let us know if it works. [/color]

 

[color=rgb(0,0,0);font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;]Cheers,[/color]

[color=rgb(0,0,0);font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;]Steve[/color]

 

Attached File  OutputWindowSettings.gif   25.67KB   1 downloads



#3 HCB

HCB

    New Member

  • Members
  • Pip
  • 5 posts
  • LocationLiverpool

Posted 03 February 2014 - 06:27 PM

Hi [color=#000000;][font="Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"]Steve,[/color][/font]
 
First of all, thanks for your reply.
I checked what you said and it is exactly the same as yours. However, it's still not work. 

I also added two pictures about my "Debugging" setting, and you could have a look. 

 

Chengbin



#4 Gutworks

Gutworks

    Advanced Member

  • Members
  • PipPipPip
  • 363 posts
  • LocationOttawa, Ontario

Posted 03 February 2014 - 06:55 PM   Best Answer

Hmm. Interesting...

 

Can you right click in the Output window and make sure you have "Program Output" checked? That will also suppress the Debug.Print statements if not checked. 


  • HCB likes this

#5 HCB

HCB

    New Member

  • Members
  • Pip
  • 5 posts
  • LocationLiverpool

Posted 03 February 2014 - 10:02 PM

Hmm. Interesting...

 

Can you right click in the Output window and make sure you have "Program Output" checked? That will also suppress the Debug.Print statements if not checked. 

Thank you!!!!!!!! It has been solved! And now I could continue my final year project based on Netduino.

 

Many thanks,

Chengbin 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.