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

How do I set up a watch in C#


  • Please log in to reply
2 replies to this topic

#1 Dick

Dick

    New Member

  • Members
  • Pip
  • 2 posts

Posted 13 July 2012 - 02:52 PM

I have the LED blink program operating on the Netduino plus, can set break points but when I try adding a watch Nothing is entered. I I am assuming that highlighting the item and then selecting watch is the procedure. The watch window is up and weems like everything is correct. What am I missing? I'm runing Visual Studio 2010 and C#. Dick

#2 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 13 July 2012 - 04:03 PM

Hi Sounds odd watch and quick watch work fine for me, when a break point is hit is there anything in the locals or immediate Windows? Also could you post code ? Nak

#3 Dick

Dick

    New Member

  • Members
  • Pip
  • 2 posts

Posted 13 July 2012 - 06:01 PM

After clearing the cobwebs I realized my problem. The value I was trying to watch wasn't a variable but the 'led' in the 'led.Write(true) line. Adding a count variable in the while loop and watching it works fine. Thanks




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.