en:
Visual Studio2019 Debug debuts an exception thrown at runtime. The location where this occurs is the ReadHoldingRegisters method of the modBusClient. cs of the EasyModbusTCP.NET project
Note:This bug happens occasionally.Follow the instructions below to have a high probability of recurrence
Re-enactment:
My program is a disconnected reconnect function, every second will check whether to disconnect, if disconnected call Connect() to reconnect.
When I started my program and then immediately started ModBus Tcp Server listening port, finally threw an exception.
立刻
启动ModBus Tcp Server 监听端口,最后抛出了异常。en: Visual Studio2019 Debug debuts an exception thrown at runtime. The location where this occurs is the ReadHoldingRegisters method of the modBusClient. cs of the EasyModbusTCP.NET project Note:This bug happens occasionally.Follow the instructions below to have a high probability of recurrence Re-enactment: My program is a disconnected reconnect function, every second will check whether to disconnect, if disconnected call Connect() to reconnect. When I started my program and then
immediately
started ModBus Tcp Server listening port, finally threw an exception.