Netduino home hardware projects downloads community

Jump to content

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

Debug.Print not always shown (in combination with Serial communication?)

Debug Print Serial GPRS

  • Please log in to reply
2 replies to this topic

#1 bakerman


    New Member

  • Members
  • Pip
  • 1 posts

Posted 10 January 2014 - 05:01 PM



I'm creating a driver for the Seeedstudio GPRS v2 shield, and so far, I'm making good progress,

However, it seems that my 'Debug.Print' statements sometimes do not arrive in the Visual Studio output window.

I'm guessing that there is some interference between the serial communication to the GPRS shield,

and the serial communication that is used by the debugger... is this possible ?


(I'm an experienced C++ developer, and intermediate .NET developer,

with pretty good knowledge of the Arduino platform & electronics, but new to Netduino)


I have attached the code in progress...


Any help will be greatly appreciated,

kind regards, Steven

Attached Files

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 January 2014 - 07:44 PM

Hi Steven, If you place a breakpoint on the Debug.Print statements, does your code actually stop on those? Also--it is possible to redirect Debug.Print to another window inside Visual Studio. I'd recommend double-checking to ensure that you haven't changed any IDE settings which could be resulting in output redirection. Chris

#3 wendo


    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 10 January 2014 - 09:38 PM

Hi Steven


While only a beginner in c# I found a fairly complete driver for this board here




I've made a number of changes to this after catching a few bugs here and there when using this for my project here


Your code looks quite a lot nicer in all honestly but I needed SMS receive handling.


While I haven't seen the issue you're talking about, I do notice delays sometimes having the debug.print commands showing up in MFDeploy. They do always come up eventually, but it's almost like they sit buffered somewhere.

Also tagged with one or more of these keywords: Debug, Print, Serial, GPRS

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.