wqdebug
Install
pip install wqdebug
Usage
# cmd or powershell or bash
wqdebug --help
GDB
run gdb
# cmd or powershell or bash
wqdebug gdb
LOG
log parse
# cmd or powershell or bash
wqdebug log
origin log:
2025-05-28 14:38:45 325 [A-105 ] [285.6]>[D] [BT] app_bt_send_rpc_cmd 5 ret=0
2025-05-28 14:38:45 332 [B-85 ] [294.7]>[I] [LIB] bt handle cmd:1
2025-05-28 14:38:45 331 [A-116 ] [292.4]>[D] [MAIN] app_send_msg type:3 id:8001 param_len:4 priority:0
2025-05-28 14:38:50 633 [A-401 ] [6065.2]>[I] [WWS] app_wws_send_remote_msg type:16 id:5 param_len:12
2025-05-28 14:38:50 599 [A-387 ] [6035.1]>[I] [WWS] wws_handle_remote_msg type:16 id:5 param_len:12
2025-06-21 18:42:57 180 [A-230 ] [267150.6]>app_send_msg_delay type:2 id:2 delay:1000
2025-06-21 18:42:57 182 [A-231 ] [267150.8]>handle_msg type:2 id:2 run_time_ms:0
2025-06-21 18:42:57 225 [A-235 ] [267214.8]>app_cancel_delay_msg type:13 id:1 triggered:0
2025-05-28 14:39:10 249 [A-699 ] [25622.5]>[I] [BT] sys_state 0x8=>0x10
2025-05-28 14:38:47 901 [B-267 ] [3332.5]>[I] [BT_CTRL] TDS:lc_lmp_tx_cfm:idx=0,opcode=38,ext_opcode=0
2025-05-28 14:38:47 901 [B-268 ] [3332.9]>[I] [BT_CTRL] TDS:lc_lmp_rx:idx=0,opcode=39,ext_opcode=0
2025-05-28 14:38:47 902 [B-270 ] [3334.0]>[I] [BT_CTRL] TDS:lc_lmp_tx:idx=0,opcode=40,ext_opcode=0
2025-05-28 14:41:35 028 [A-256 ] [170432.1]>[W] [DRIVER] [auto][WARNING]vector:117 time 289
2025-06-21 18:42:58 194 [A-379 ] [268150.1]>WARNING: This rpc task is too heavy!""src:1, cmd:24, interval 30659
2025-06-21 18:21:53 847 [B-109 ] [1352.0]>RX HCI_COMMAND_COMPLETE_EVENT. Packets Num: 5, Opcode: 0xFC65, Status: 0x00
replace log:
2025-05-28 14:38:45 325 [A-105 ] [285.6]>[D] [BT] app_bt_send_rpc_cmd 5(BT_CMD_GET_LOCAL_ADDR) ret=0(BT_RESULT_SUCCESS)
2025-05-28 14:38:45 332 [B-85 ] [294.7]>[I] [LIB] bt handle cmd:1(BT_CMD_SET_ENABLED)
2025-05-28 14:38:45 331 [A-116 ] [292.4]>[D] [MAIN] app_send_msg type:3(MSG_TYPE_EVT) id:8001 param_len:4 priority:0
2025-05-28 14:38:50 633 [A-401 ] [6065.2]>[I] [WWS] app_wws_send_remote_msg type:16(MSG_TYPE_OTA) id:5 param_len:12
2025-05-28 14:38:50 599 [A-387 ] [6035.1]>[I] [WWS] wws_handle_remote_msg type:16(MSG_TYPE_OTA) id:5 param_len:12
2025-06-21 18:42:57 180 [A-230 ] [267150.6]>app_send_msg_delay type:2(MSG_TYPE_WWS) id:2 delay:1000
2025-06-21 18:42:57 182 [A-231 ] [267150.8]>handle_msg type:2(MSG_TYPE_WWS) id:2 run_time_ms:0
2025-06-21 18:42:57 225 [A-235 ] [267214.8]>app_cancel_delay_msg type:13(MSG_TYPE_USR_CFG) id:1 triggered:0
2025-05-28 14:39:10 249 [A-699 ] [25622.5]>[I] [BT] sys_state 0x8(STATE_CONNECTABLE)=>0x10(STATE_AG_PAIRING)
2025-05-28 14:38:47 901 [B-267 ] [3332.5]>[I] [BT_CTRL] TDS:lc_lmp_tx_cfm:idx=0,opcode=38(LMP_VER_RES_OPCODE),ext_opcode=0
2025-05-28 14:38:47 901 [B-268 ] [3332.9]>[I] [BT_CTRL] TDS:lc_lmp_rx:idx=0,opcode=39(LMP_FEATS_REQ_OPCODE),ext_opcode=0
2025-05-28 14:38:47 902 [B-270 ] [3334.0]>[I] [BT_CTRL] TDS:lc_lmp_tx:idx=0,opcode=40(LMP_FEATS_RES_OPCODE),ext_opcode=0
2025-05-28 14:41:35 028 [A-256 ] [170432.1]>[W] [DRIVER] [auto][WARNING]vector:117(WIC_WAKEN_UP_INT_BT2DCORE) time 289
2025-06-21 18:42:58 194 [A-379 ] [268150.1]>WARNING: This rpc task is too heavy!""src:1(BT_CORE), cmd:24(RPC_CMD_audio_sys_create_stream_ext), interval 30659
2025-06-21 18:21:53 847 [B-109 ] [1352.0]>RX HCI_COMMAND_COMPLETE_EVENT. Packets Num: 5, Opcode: 0xFC65, Status: 0x00
Develop
pip install -e .
Test
pytest
Metadata
Release files for wqdebug 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wqdebug-1.0.8.tar.gz | 129.2 kB | Without provenance | Details for wqdebug-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wqdebug-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for wqdebug-1.0.8-py3-none-any.whl |
Total release size: 307.6 kB
Release files / wqdebug-1.0.8.tar.gz
| Download URL | wqdebug-1.0.8.tar.gz |
|---|---|
| Size | 129.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
402cb5f7dde368fc882aa6c6137b92904f09aea26692c835914457b67d1fdb74
|
|
BLAKE2b-256 checksum How to use checksums |
5df5542c8090eca9de20404960a501e77662fb68d12b230e55ad78d0b2361520
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / wqdebug-1.0.8-py3-none-any.whl
| Download URL | wqdebug-1.0.8-py3-none-any.whl |
|---|---|
| Size | 178.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9e24fe1d560b6ea702d48c850fb98cc5e44fdfd293be065131b471577bc1851
|
|
BLAKE2b-256 checksum How to use checksums |
150611f5ae7ae0bf140e7f66af16b47530f99fd92081ada235839d6e4d1f8bc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Security for wqdebug 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.