I am attempting my first N3 program (a simple "Hello World" - source here), but I get:
An unhandled exception of type 'System.Exception' occurred in Microsoft.SPOT.Hardware.dll
during debugging; if I continue, I do eventually get the expected output, but...any idea what's going on? I have a fairly absurd setup and spent a LOT of time getting this far; I'm running VS2015 Community RC on an HP Stream 7 tablet, which took a few tries to get working, and the first time I attempted to flash my N3, I got "An error has occurred: please check your hardware." and used Netduino Update's Erase App tool per forum thread to get as far as I have been able to now. I'm not sure how big of a deal this exception is, since it is working after that break, but I'm worried that as I get in deeper, I may experience further/similar issues - any thoughts? Thanks!!!
Found debugger! Found debugger! Found debugger! Create TS. Loading start at 8065cf4, end 808cf14 Assembly: mscorlib (4.3.1.0) Assembly: Microsoft.SPOT.Native (4.3.1.0) Assembly: Microsoft.SPOT.Hardware (4.3.1.0) Assembly: Microsoft.SPOT.Net (4.3.1.0) Assembly: Microsoft.SPOT.Net.Security (4.3.1.0) Assembly: System (4.3.1.0) Assembly: System.Net.Security (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.SerialPort (4.3.1.0) Assembly: Microsoft.SPOT.IO (4.3.1.0) Assembly: System.IO (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.PWM (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.Usb (4.3.1.0) Assembly: Netduino.IP (1.0.0.0) Assembly: Netduino.IP.Interop (1.0.0.0) Assembly: Netduino.IP.LinkLayers.CC3100 (1.0.0.0) Assembly: SecretLabs.NETMF.Diagnostics (4.3.1.0) Assembly: GoBus (1.5.0.1) Assembly: SecretLabs.NETMF.Hardware.Netduino (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.OneWire (4.3.1.0) Loading Deployment Assemblies. Attaching deployed file. Assembly: SecretLabs.NETMF.Hardware (4.3.1.0) Attaching deployed file. Assembly: GoBus (1.5.0.0) Attaching deployed file. Assembly: HelloNetduino (1.0.0.0) Resolving. The debugging target runtime is loading the application assemblies and starting execution. Ready. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Native.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.Security.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Net.Security.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.IO.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.IO.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.Usb.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP' Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP.Interop' Invalid address 0 and range 40 Ram Start 20000000, Ram end 20030000 Invalid address 1000fbb4 and range 4 Ram Start 20000000, Ram end 20030000 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'Netduino.IP.LinkLayers.CC3100' 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Diagnostics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\GoBus.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.Netduino.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.OneWire.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.3\le\SecretLabs.NETMF.Hardware.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Microsoft.SPOT.Debugger.CorDebug.14.dll' (Managed): Loaded 'C:\Users\David\Documents\Visual Studio 2015\Projects\HelloNetduino\HelloNetduino\bin\Debug\le\HelloNetduino.exe', Symbols loaded. An unhandled exception of type 'System.Exception' occurred in Microsoft.SPOT.Hardware.dll Uncaught exception The thread '<No Name>' (0x2) has exited with code 0 (0x0). Hello World The thread '<No Name>' (0x1) has exited with code 0 (0x0). The thread '<No Name>' (0x4) has exited with code 0 (0x0). Done. Waiting for debug commands... The program '[4] Micro Framework application: Managed' has exited with code 0 (0x0).