ddddad
V2EX  ›  Rust

tikio 里面的代码怎么调试呢

  •  
  •   ddddad · Jun 17, 2025 · 3373 views
    This topic created in 512 days ago, the information mentioned may be changed or developed.

    目前用 rustover gdb 断点进不去啊

    7 replies  •  2025-08-13 21:21:07 +08:00
    wyntalgeer
    wyntalgeer
    Jun 17, 2025
    1
    Rust 果然无人讨论
    ddddad
    ddddad
    OP
    Jun 17, 2025
    2
    凉飕飕...
    memcache
    memcache
    Jun 26, 2025 via iPhone
    3
    试试 rustRover
    PTLin
    PTLin
    Jun 27, 2025
    4
    我记得闭包或者 async 块这种是没法打断点的。
    ddddad
    ddddad
    OP
    Jun 27, 2025
    5
    @memcache 就是用的这个 这种无法断点好痛苦 typescript 的异步也能断点
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2504 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:46 · PVG 18:46 · LAX 02:46 · JFK 05:46
    ♥ Do have faith in what you're doing.