Main Site Documentation

G120 debugging is frustrating


I am debugging the G120 on the Cobra 2 board and on a few occasions I keep being asked to calibrate the touch screen. It gets calibrated and I then click on DONE but this doesn’t seem to save it. I also have AutoSave set to true.

The only issue I can’t do is click on the YES button as it then immediately selects the RECALIBRATE button when the YES NO window dissappears.

I may modify Glide to move these buttons out of the way.

The second thing is the speed of debugging. Not sure if this is VS2012 but it sure takes a long time to start and my app is not that big. About 1 min and 20 seconds at the last count. The ChipworkX dev under VS2010 is a dream and fast.

The deploying of assemblies is the longest part.

Also I get this error message and have to try again. Happens about 2-3 times each debug run.

The debugging target and the debugger engine failed to initialize because of unspecified device errors.
The debugger engine thread has terminated unexpectedly with error 'Object reference not set to an instance of an object.'.

Clicking Start again and it runs, after waiting another 1 min 20 seconds :frowning:


Welcome to the club :wink:

This a microsoft problem, follow it on Codeplex:


I am going to go back and try to get the G120 working under VS2010 until things get sorted.

VS2012 is putting a severe dampner on my enjoyment of .NETMF :slight_smile:


This makes us sad but we now list VS2010 as “recommended”


I got it working with VS2010. Just needed to rebuild the libraries I was using.

Boy, what a difference in speed. About 10 seconds to deploy and start running. :slight_smile: