Hello,
we are testing websocket functionality on our Windows CE 2013 with .Net Framework 3.9.
When I set a breakpoint, Visual Studio crashes in both the 2017 and 2013 versions and restarts without error message.
Without the Rebex components, debugging works fine. Do we have something else wrong or is it the trial version?
Here is the code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rebex.Net;
namespace Test_Websocket_Rebex_Test
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to C# on Windows Embedded Systems");
var client = new WebSocketClient();
client.Connect("wss://socketsbay.com/wss/v2/2/demo/");
// send a message
client.Send("Hello World");
Console.WriteLine("Message send waiting for answer");
// receive response
//string response = client.Receive<string>();
// display it
Console.WriteLine("Answer received");
Console.WriteLine(response);
}
}
}
I simply add a breakpoint at Console.WriteLine("Welcome to C# on Windows Embedded Systems"); and hover with the mouse above "console" After a few seconds VS restarts