I am brand new to the FEZ Panda II and to NETMF, so please bear with me…I don’t know if this is expected behavior or not. I didn’t see mention of it in the tutorials.
When I run even a very simple NETMF program (the standard example that just does a Debug.Print of “Amazing!” to the VS 2010 output window) on the FEZ Panda II, it always “hangs” for around 30 seconds at the end of Main, after everything has executed. The program runs to completion (printing the message on the output window), but VS 2010 stays in “running” mode, and if I want it to quit, I have to click the Stop Debugging button to get back to program editing mode.
What I see in the output window is the following (line numbers added for discussion purposes):
- The thread ‘’ (0x2) has exited with code 0 (0x0).
- Amazing!
- The thread ‘’ (0x1) has exited with code 0 (0x0).
- Done.
- Waiting for debug commands…
- The program ‘[2] Micro Framework application: Managed’ has exited with code 0 (0x0).
There is a pause of about 30 seconds between line (3) and line (4), during which VS 2010 is still in “running” mode and nothing is displayed. Then, lines (4), (5), and (6) are suddenly displayed and VS 2010 pops out of running mode and into editing mode.
Is this normal/expected behavior, or does it point to some sort of problem?
I have confirmed that I have the latest firmware and matching SDKs. I’m running VS 2010 Ultimate with SP1.