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.

ChrisArndt

Member Since 03 Aug 2011
Offline Last Active Aug 09 2013 09:00 PM
-----

Posts I've Made

In Topic: Debug.Print not showing up

29 September 2011 - 10:40 PM

I don't see any Debug.Print output in either Output or Immediate window, with Options ... "redirect to Immediate" on or off. The DLL start-up and shutdown messages appear in the Output window, but I suppose those are being generated locally by the bootstrapper. When I run MFDeploy, I get messages from the device. When I get a chance I will try this on some other machine. Until then, I'll be glad I have the debugger working, which is 98% of the problem. Thanks Everyone --- Chris

In Topic: Debug.Print not showing up

16 August 2011 - 05:32 PM

If you put a "Thread.Sleep(Timeout.Infinite);" at the end of your Main routine, does that help your Debug info show up?

I'm just checking to make sure your Debug data has a chance to be printed before your app finishes. Shouldn't affect anything...

I tried
{Debug.Print("1"); Thread.Sleep(60000); Debug.Print("2")}
with a break on the second Print -- I hit the breakpoint, but never see the Print values.

Note: I see the same behavior with the Emulator - no output from Print. However, with MFDeploy I do see the Print output.

It's puzzling that the debugger seems fine -- I can set breakpoints, inspect variables -- but this one thing doesn't work.

In Topic: .NET Gadgeteer availibility

16 August 2011 - 04:54 PM

Who wants a Gadgeteer shield for their Netduino? Please raise your hand.


This would be a great addition to my Netduino. More play with less solder!!

Any update?

In Topic: Debug.Print not showing up

08 August 2011 - 09:19 PM

Hi,
Sorry for the delay in my responding.

I seem to be getting other tracing sent to the Output window just fine. I have an excerpt below -- I would expect to see my Debug.Print msgs before "Done". Most of what I assume gets sent to Output is showing up, just not my stuff!

If I hook up MFDelpoy and Connect, it shows my Debug.Print.

If I set Breakpoints, I hit them and can inspect variables. So the debugger is fine.

There is nothing in the Immediate window, and the option to sent to Immediate is not checked.

Note: this is true with the Netduino Plus AND when I use the Emulator.

I am running Visual Studio 2010 Pro with SP1.

I am running on a 64bit Win7. I have the 64bit Netduino SDK installed. Anyone else running 64bit?? If I had to bet, I'd guess that there might be a problem with the 64bit SDK while the 32bit is OK.

Thanks for any ideas



...

'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'D:\Proj\Netduino\play\VoltageReader\VoltageReader\bin\Debug\le\VoltageReader.exe', Symbols loaded.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.1\le\SecretLabs.NETMF.Hardware.NetduinoPlus.dll', Symbols loaded.
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
Done.

Waiting for debug commands...

The thread '<No Name>' (0x1) has exited with code 0 (0x0).
The program '[9] Micro Framework application: Managed' has exited with code 0 (0x0).

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.