AirtestProject / AirtestProject/Poco

Cocos2dx-lua集成后未能在AirtestIDE上显示控件树

Đang mở
#81 11 bình luận 0 reaction 1 người được giao Được @rockywhisper nhận Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**描述问题bug**

集成poco之后,在AirtestIDE上不现实控件树

**复现步骤**

1、集成poco到App
2、打开App(显示服务启动成功:[LUA-print] [poco] server listens on tcp://*:15004)
3、AirtestIDE选择cocos-lua刷新控件树:[LUA-print] [poco] new client accepted 127.0.0.1 nil

**预期效果**
AirtestIDE显示控件树

**相关截图**
1、通过添加日志:发现能够正确的接手到dump请求:
[LUA-print] [poco] onRequest table: 0xc90cd120 Dump table: 0xc90cd3e0
2、在client返回前打印返回信息,结构如下
```
I/MockLuaCallProxy: [LUA-print] [poco] client send {
id = "52158b5b-7240-486b-a484-67f83ddc39fb",
jsonrpc = "2.0",
result = {
children = { {
children = { {
children = { {
name = "Image_bg1",
payload = {
anchorPoint = { 0.5, 0.5 },
desc = "ImageView",
enabled = true,
name = "Image_bg1",
pos = { 0.5, 0.5 },
rotation = 0,
scale = { 1.2000000476837, 1 },
size = { 0.27351189540805, 1.2173913043478 },
skew = { 0, 0 },
tag = 6,
touchable = false,
type = "ImageView",
visible = true,
zOrders = {
global = 0,
local = 0
}
}
}, {
name = "Image_bg2",
payload = {
anchorPoint = { 0.5, 0.5 },
desc = "ImageView",
enabled = true,
name = "Image_bg2",
pos = { 0.52661269851982, 0.50220001083443 },
rotation = 0,
scale = { 1, 1 },
size = { 0.20422221523801, 0.68215892053973 },
skew = { 0, 0 },
tag = 7,
touchable = false,
type = "ImageView",
visible = true,
zOrders = {
global = 0,
local = 0
}
}
}, {
children = { {
children = { {
children = { {
children = { {
name = "

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.