fix: 修复前端显示问题与后端无法读取Debugger数据的问题

This commit is contained in:
2025-07-30 20:26:14 +08:00
parent 82bc03b9fb
commit 2f1be8b0b7
3 changed files with 57 additions and 93 deletions

View File

@@ -213,7 +213,7 @@ public class DebuggerClient
{
var captureData = new byte[1024 * 4 * portNum];
{
var ret = await UDPClientPool.ReadAddr4BytesAsync(this.ep, this.taskID, this.captureDataAddr, captureData.Length, this.timeout);
var ret = await UDPClientPool.ReadAddr4Bytes(this.ep, this.taskID, this.captureDataAddr, captureData.Length / 4, this.timeout);
if (!ret.IsSuccessful)
{
logger.Error($"Failed to read data: {ret.Error}");