Hi Guys,
i am currently using VB.net to program my N3.
May i know what resource do i need to include in order to do Debug.Print statement?
Is it that I need to deploy my program as console mode?
Thanks in advance.
  | ||||||||||||||
Newbie: How to write debug statement
Started by alexccw74, Oct 27 2015 04:08 PM
4 replies to this topic
#1Posted 27 October 2015 - 04:08 PM Hi Guys,
i am currently using VB.net to program my N3. May i know what resource do i need to include in order to do Debug.Print statement? Is it that I need to deploy my program as console mode?
Thanks in advance. #2Posted 27 October 2015 - 06:32 PM Hi,
You can use Debug.Print in any Netduino application. The string, which you pass as argument, will be displayed in the Output Window of Visual Studio during debugging. #3Posted 28 October 2015 - 02:55 AM Hi,
I am referring whether I need to include any library reference to the project in order to use this debug.print function? apparently the VS does not recognize it when i use this function and compile error occurred. #4Posted 28 October 2015 - 04:59 AM Hi Alex,
In your code
using Microsoft.SPOT
Then in the "references"
Microsoft.SPOT.Native
@KiwiBryn blog.devmobile.co.nz #5Posted 31 October 2015 - 01:29 PM Kiwi,
thanks for your suggestion. Indeed, after adding the "Native" reference, there is no problem reported from VS during compile, also i can see the debug statements now..
Thanks. 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||