I don’t want to replace the Debugger, I want to use the USB Connection I use for Debugging as an ordinary Serial line to have a command line Interface for my app. You described something like that in the commebt of this code, or did I misunderstood something completely?
With best regards
PS: Here is the text I found and pointed to:
/// Start the CDC (virtual comm) port on the current debug session.
/// This will stop the current session and restart with a new driver which will create the dual channel.
/// To reattach debugger channel, you need to hit “Break All” and then Continue. You should then have
/// a new V-Comm port on the PC and a comm port on the fez.
private void InitCDC()
Debug.Print(“Hit Break All in VS to reattach debugger to port, then Run Continue.”);
port = USBClientController.StandardDevices.StartCDC_WithDebugging();
port.ReadTimeout = -1; // Block waiting for chars.
if (USBClientController.GetState() != USBClientController.State.Running)
Debug.Print("waiting to connect.");