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

Visual Studio 2010 Restarts


  • Please log in to reply
3 replies to this topic

#1 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 30 June 2012 - 05:05 PM

When ever a program that I am trying to deploy stops (breaks) due to an error or exception, attempting to look at the line of code that caused the problem will cause Visual Studio 2010 to close and restart.

The break can be from something like trying to put too many bytes into a string. It makes debugging difficult.

Does anyone know a solution to this problem or having the same problem? I have seen some are having BSOD issue but I am not currently having that problem.

Thanks,
Chuck

Attached Files



#2 supra

supra

    Advanced Member

  • Members
  • PipPipPip
  • 210 posts
  • LocationOntario, Canada

Posted 01 July 2012 - 10:34 AM

When ever a program that I am trying to deploy stops (breaks) due to an error or exception, attempting to look at the line of code that caused the problem will cause Visual Studio 2010 to close and restart.

The break can be from something like trying to put too many bytes into a string. It makes debugging difficult.

Does anyone know a solution to this problem or having the same problem? I have seen some are having BSOD issue but I am not currently having that problem.

Thanks,
Chuck



U can't used vbcrlf. So use char(0)

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 July 2012 - 02:05 PM

Hi Chuck, Do you get the same issue if you're just doing the "blinky" app? Or is it specific to particular code? Chris

#4 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 01 July 2012 - 08:37 PM

Hi Chuck,

Do you get the same issue if you're just doing the "blinky" app? Or is it specific to particular code?

Chris

Sorry to take so long getting back to you (had to work today).

I could not crash blink, I set break points, force a divide by zero exception etc and could still examine the ofending variable.

I am attaching the code that I was using. I am using 2 Netduinos a classic and a plus the plus is sending ON or OFF every 200 milli seconds(same setup that would only work correctly at 115200 baud). At the slower speeds the program was not seeing the CR & LF and the incoming text was not being reset to "". It would throw an exception, I would try to examine the incomingtext and visual studio would re-start. Jpegs of the messages in the first post.

This appears to be the same issue as VS2010 Crash on debug

Thanks for looking at it,
Chuck

Attached Files






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.